Protect & Encrypt
Authenticated Encryption Explained
Learn how authenticated encryption keeps data private and detects changes, including how AES-GCM uses an authentication tag and associated data.

Encryption hides the contents of a message. Authentication checks whether the ciphertext or associated metadata changed before the receiver uses it.
Authenticated encryption combines those two checks in one construction.
In brief
What it is: Authenticated encryption protects confidentiality and also detects unauthorized modification of the ciphertext and, where used, associated data.
Why it matters: Without integrity, encrypted data can still be malleable or vulnerable to dangerous misuse patterns.
Worth knowing: Authenticated encryption combines confidentiality with an integrity check that can detect altered protected data.
Confidentiality and integrity are different promises
Confidentiality means outsiders should not learn the plaintext. Integrity means the receiver should be able to detect unauthorized changes. Those are related but separate goals. A scheme that gives only confidentiality can still leave room for tampering if no integrity check is applied.
That is why authenticated encryption feels like a safer default. It aligns the product story with what users often assume “encryption” already does.
Why AEAD modes became the modern expectation
AEAD provides confidentiality for plaintext and integrity for both ciphertext and unencrypted associated data. The library handles encryption and authentication together, reducing the risk of combining separate encryption and MAC steps incorrectly.
- Confidentiality hides the plaintext.
- Integrity detects tampering.
- AEAD makes both properties part of one coherent workflow.
What users should be able to see in a tool
A good authenticated-encryption tool should surface the nonce or IV, the authentication tag, and whether associated data was used. That transparency is helpful because it teaches the user what pieces matter without forcing them into full cryptography internals.
See it in a small example
Notice: Authenticated encryption adds integrity protection to confidentiality.
Confidentiality only -> data may still be modifiable in dangerous ways
Authenticated encryption -> ciphertext changes are detected
What to verify
- Ask whether your design detects tampering or only hides plaintext.
- Prefer authenticated-encryption modes when the ecosystem supports them.
- Surface nonce, tag, and AAD concepts clearly in tools and docs.
Common questions
Does authenticated encryption make signatures unnecessary?
Signatures and authenticated encryption solve different trust problems.
Can I add integrity later as a separate thought?
You can, but modern defaults aim to avoid that fragile assembly work.