Skip to content
uencoder

Authenticated Encryption (AEAD) Reference

Reference for AEAD ciphers that provide both confidentiality and integrity, including GCM, CCM, and ChaCha20-Poly1305.

AEAD Principles

Authenticated Encryption with Associated Data (AEAD) simultaneously provides confidentiality for plaintext and authenticity for both ciphertext and associated data. The nonce must be unique per encryption under the same key but need not be secret. AEAD schemes prevent tampering and reorder attacks that plain encryption cannot detect. Modern protocols mandate AEAD over separate encrypt-then-MAC.

confidentiality
Plaintext hidden from attackers
IND-CPA
integrity
Ciphertext tampering detected
INT-CTXT
associated data
Authenticated but not encrypted
headers, AAD

Common Schemes

AES-GCM is the most widely deployed AEAD, offering hardware acceleration and parallelizable authentication. ChaCha20-Poly1305 is preferred in software-only environments for constant-time execution. AES-CCM is used in wireless protocols like 802.11i and Bluetooth. The nonce management strategy is critical: counters are preferred over random nonces to avoid collision risk.

AES-GCM
Parallel, HW-accelerated
TLS default
ChaCha20-Poly1305
Constant-time software
RFC 8439
AES-CCM
Combines CTR+CBC-MAC
wireless

Related tools

References