Skip to main content

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.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

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

  1. Provide text or data for this tool.
  2. Use a unique nonce for each encryption with the same key. This applies to Ascon Encryption.
  3. Keep associated data unchanged between encryption and decryption. This applies to Ascon Encryption.
  4. 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.