Ascon-AEAD128
Encrypt with Ascon-AEAD128 from NIST SP 800-232.
import os
from oxcrypto.aead.ascon_aead128 import ASCON_AEAD128
key = ASCON_AEAD128.ASCON_AEAD128.generate()
nonce = os.urandom(16)
sealed = key.encrypt(nonce, b"message", associated_data=b"header")
plaintext = key.decrypt(nonce, sealed, associated_data=b"header")Variants: ASCON_AEAD128.
Keys, nonces and tags are 16 bytes. Truncated tags from SP 800-232 are not exposed.
| Standard | NIST SP 800-232 (final, August 2025). |
| Crate | ascon-aead 0.6.1 with the zeroize feature |
| Maturity | Stable release. No published audit. |
| MSRV | Builds with Rust 1.88. |
| Zeroization | ascon-aead and ascon-core with zeroize are written to wipe the stored key words and the permutation state. oxcrypto has not verified this independently. |
| Experimental | No |
| Test vectors | Wycheproof ascon_sp800_232_aead128_test.json |