Authentication Tag
Pronunciationaw-then-tih-KAY-shun TAG
Definition
An authentication tag is a short value produced alongside the ciphertext in authenticated encryption (AEAD, such as AES-GCM). When decrypting, a wrong tag means the data was changed, so decryption is refused.
Where you hear it
In AES-GCM and ChaCha20-Poly1305 documentation, encryption library APIs and security reviews.
Examples
AES-GCM returns the ciphertext and a 16-byte authentication tag.
Decryption raised an error because the tag didn't match.
Decryption failed on the tag check, so the stored file was corrupted or changed.
Common mistake
Encrypting without authentication. Attackers can alter the ciphertext in ways you won't notice.
Don't confuse with
An HMAC, a separate signature you compute yourself. AEAD builds the tag into the encryption step.
Say it at work
- In a meeting or chat
Always check the tag before using the plaintext.
- In an email or ticket
Use authenticated encryption, not bare AES.