IT lexicon › Security › Authenticated encryption

Authenticated encryption

Security På svenska → Updated: 2026-10-12

Encryption that also lets the recipient detect whether anyone altered the ciphertext.

Confidentiality alone is not enough. If an attacker can flip bits in the ciphertext without detection, the decrypted message is garbage at best and attacker-chosen at worst. Authenticated encryption does both jobs in one primitive: one key protects both secrecy and integrity, and decryption refuses to return plaintext when the tag does not match.

History is full of implementations that combined a cipher and a MAC badly, and padding oracle attacks were a frequent result. Today the default is an AEAD construction such as AES-GCM or ChaCha20-Poly1305, with the interface formalised in RFC 5116 from 2008.

← Back to the lexicon