MAC Ascon

Calcola un codice di autenticazione con chiave per integrità e provenienza.

Input: Testo (UTF-8) / Un fileRisultato: Testo

Inserimento di testo

Esegui per vedere il risultato

Esempi

Example keys and passwords are public test material.

Published Ascon-Mac v1.3 KAT Count 3

Input

3a393a862889fd2bcc4a2939.bin

2 bytes

Scarica

Expected answer

2fbf6e4b9f38f5833796d00ab74b7cae
Chiave
{"option":"Hex","string":"000102030405060708090A0B0C0D0E0F"}
Published Ascon-Mac v1.3 KAT Count 4

Input

29076ae7ed6040c5991a4752.bin

3 bytes

Scarica

Expected answer

46a48dba27848ee3b4ddc97c79d15835
Chiave
{"option":"Hex","string":"000102030405060708090A0B0C0D0E0F"}
Published Ascon-Mac v1.3 KAT Count 6

Input

eac170b3d79eb67627a4775d.bin

5 bytes

Scarica

Expected answer

7e809217641965a1f418e422fd5ba8ab
Chiave
{"option":"Hex","string":"000102030405060708090A0B0C0D0E0F"}
invalid key length

Input

test

Expected rejection

Message contains
Invalid key length: 8 bytes.

Ascon-Mac requires a key of exactly 16 bytes (128 bits).
Chiave
{"option":"Hex","string":"0001020304050607"}
NIST KAT Count=2 (Msg=0x10)

Input

c555eab45d08845ae9f10d45.bin

1 bytes

Scarica

Expected answer

e5be5b6dfb7b0e3eae00a070791947a8
Chiave
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
NIST KAT Count=5 (Msg=0x10111213)

Input

a00291e8229d191815f2cbd2.bin

4 bytes

Scarica

Expected answer

727f6386405a52ad7ca0669a6a885294
Chiave
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
NIST KAT Count=1 (empty message)

Input

Expected answer

eac9d74bbedf8bf1eba2862b26aa6d39
Chiave
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}

Strumenti correlati

Hash

Riferimento dell’operazione

Vedi la documentazione tecnica originale (English)