Décrypter avec Ascon

Déchiffre l'entrée avec “Ascon”.

Entrée: TexteRésultat: Texte

Saisie de texte

Exécuter pour voir le résultat

Exemples

Example keys and passwords are public test material.

authentication failure (tampered ciphertext)

Entrée

bf14bce6b9b6588c3aa63f9ddc5a0cf5f565f358b0

Expected rejection

Message contains
Unable to decrypt: authentication failed. The ciphertext, key, nonce, or associated data may be incorrect or tampered with.
Clé
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Nonce
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Données associées
{"option":"Hex","string":""}
Entrée
Hex
Sortie
Raw
authentication failure (wrong associated data)

Entrée

351880c09f9dee12c20c4ba973066bc10dd26000b6

Expected rejection

Message contains
Unable to decrypt: authentication failed. The ciphertext, key, nonce, or associated data may be incorrect or tampered with.
Clé
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Nonce
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Données associées
{"option":"UTF8","string":"wrong data"}
Entrée
Hex
Sortie
Raw
authentication failure (wrong key)

Entrée

af14bce6b9b6588c3aa63f9ddc5a0cf5f565f358b0

Expected rejection

Message contains
Unable to decrypt: authentication failed. The ciphertext, key, nonce, or associated data may be incorrect or tampered with.
Clé
{"option":"Hex","string":"ff0102030405060708090a0b0c0d0e0f"}
Nonce
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Données associées
{"option":"Hex","string":""}
Entrée
Hex
Sortie
Raw
basic decryption

Entrée

af14bce6b9b6588c3aa63f9ddc5a0cf5f565f358b0

Expected answer

Hello
Clé
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Nonce
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Données associées
{"option":"Hex","string":""}
Entrée
Hex
Sortie
Raw
longer message

Entrée

9314a3fef6cc299a07b8c9e0f9e479ca0d1187e87345cf590adc572b

Expected answer

test message
Clé
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Nonce
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Données associées
{"option":"Hex","string":""}
Entrée
Hex
Sortie
Raw
no key

Entrée

af14bce6b9b6588c3aa63f9ddc5a0cf5f565f358b0

Expected rejection

Message contains
Invalid key length: 0 bytes.

Ascon-AEAD128 requires a key of exactly 16 bytes (128 bits).
Clé
{"option":"Hex","string":""}
Nonce
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Données associées
{"option":"Hex","string":""}
Entrée
Hex
Sortie
Raw
with associated data

Entrée

351880c09f9dee12c20c4ba973066bc10dd26000b6

Expected answer

Hello
Clé
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Nonce
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
Données associées
{"option":"UTF8","string":"metadata"}
Entrée
Hex
Sortie
Raw

Outils associés

Chiffrement / Encodage

Référence de l’opération

Voir la documentation technique originale (English)