AEAD
Authenticated encryption with associated data: encryption that keeps data secret and also detects any change to it or to an attached readable header.
In more detail
AEAD stands for authenticated encryption with associated data. Encrypting produces ciphertext plus a tag, and decryption refuses to release anything if the tag does not match, so an attacker cannot edit what they cannot read. The associated data is information that must stay readable, such as a record number or packet header, but is still covered by the tag. AES-GCM and ChaCha20-Poly1305 are the common examples.
Examples
header = b"invoice 2026-0042" # sent in the clear, but still authenticatedAEAD: ciphertext plus tag; a failed tag releases nothingRelated terms
- AES-GCM — AES in Galois/Counter Mode: the most widely used way to encrypt data so that it stays secret and any tampering is detected.
- ChaCha20-Poly1305 — An authenticated encryption scheme that pairs the ChaCha20 stream cipher with the Poly1305 authenticator, and runs fast even on devices without AES hardware.
- integrity — The guarantee that data has not been changed, by accident or on purpose, without the change being detected.
- bit-flipping attack — An attack that changes chosen bits of encrypted data so that, after decryption, the message says something different, without the attacker knowing the key.
Taught in
- Symmetric Encryption: AES-GCM & ChaCha20 — Cybersecurity Fundamentals, GRC & Cryptography