aead
aead
Authenticated Encryption with Associated Data (AEAD)
Mojo implementations of AEAD schemes — constructions that simultaneously
provide confidentiality for the message and integrity/authenticity for
both the message and any associated data (aad) that travels alongside it.
Implemented schemes
| Scheme | File | Specification |
|---|---|---|
| GCM (Galois/Counter Mode) | gcm.mojo |
NIST SP 800-38D |
| GCM-SIV (nonce-misuse-resistant) | gcm_siv.mojo |
RFC 8452 |
References
- Wikipedia — Authenticated encryption
- NIST SP 800-38D — Galois/Counter Mode (GCM) and GMAC
- RFC 8452 — AES-GCM-SIV: Nonce Misuse-Resistant AEAD
Mojo package 🡭