Cryptography & Ciphers
Ascon Encryption
Apply Ascon Encrypt with explicit key, format, and algorithm settings. Enter the data and key material, choose the parameters, then review the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
Ascon Encryption uses Ascon-AEAD128 to process the supplied input. Encryption returns ciphertext with a 128-bit authentication tag; decryption returns plaintext only after tag verification. This record describes encryption or encoding for Ascon Encryption.
Encryption returns ciphertext with a 128-bit authentication tag; decryption returns plaintext only after tag verification. This record describes encryption or encoding for Ascon Encryption. Processing runs in the browser for this catalog category, so the result depends on the supplied bytes and settings. Processing runs in the browser.
Ascon provides confidentiality and integrity for the supplied bytes; it does not provide key exchange or identity authentication.
Instructions
- Provide text or data for this tool.
- Use a unique nonce for each encryption with the same key. This applies to Ascon Encryption.
- Keep associated data unchanged between encryption and decryption. This applies to Ascon Encryption.
- Select Hex for binary fixtures and Text for a readable test message. This applies to Ascon Encryption.
Example
Input: Plaintext "Test message"; key "000102030405060708090a0b0c0d0e0f"; nonce "000102030405060708090a0b0c0d0e0f"; associated data "demo". Operation direction: encryption or encoding; algorithm: Ascon Encryption.
Settings: Ascon Encryption: Key: exactly 16 bytes; nonce: exactly 16 bytes. Associated data: optional and authenticated, but not encrypted. Input and output: Text or Hex.
Result: Encryption returns ciphertext with a 128-bit authentication tag; decryption returns plaintext only after tag verification. This record describes encryption or encoding for Ascon Encryption. Processing runs in the browser for this catalog category, so the result depends on the supplied bytes and settings.
Limits
- Ascon Encryption: The operation rejects keys or nonces with any other length.
- Ascon Encryption: Nonce reuse with one key can compromise authenticated encryption.
- Ascon Encryption: The tool does not manage key storage or nonce coordination for another application.