Skip to main content
Cipher Visualizers home

Tag

#Authenticated Encryption

4 articles with this tag.

A visual representation of the OCB Mode Algorithm
Authenticated Encryption (AEAD) Advanced

The OCB Mode Algorithm

OCB encrypts and authenticates in a single pass, using about one AES call per block. Learn how its secret offsets turn AES into a tweakable cipher, how the tag comes from a checksum, and what the 2018 attacks on OCB2 mean for the version in RFC 7253.

17 min read

A visual representation of the XChaCha20-Poly1305 Algorithm
Authenticated Encryption (AEAD) Intermediate

The XChaCha20-Poly1305 Algorithm

XChaCha20-Poly1305 extends ChaCha20-Poly1305 with a 192-bit nonce, so you can simply pick a random nonce for every message. Learn how HChaCha20 builds a fresh subkey, how the rest of the AEAD works, and why the bigger nonce makes collisions a non-issue.

15 min read

A visual representation of the AES-GCM Algorithm
Authenticated Encryption (AEAD) Intermediate

AES-GCM: Authenticated Encryption

AES-GCM does two jobs at once: it hides your data AND proves nobody tampered with it. Learn how Galois/Counter Mode combines AES with GHASH authentication to become the default choice for TLS, IPsec, and disk encryption.

10 min read

A visual representation of the ChaCha20-Poly1305 Algorithm
Authenticated Encryption (AEAD) Intermediate

ChaCha20-Poly1305: The Mobile-Friendly AEAD

TLS 1.3's second mandatory cipher suite pairs ChaCha20 encryption with the Poly1305 message authenticator, delivering AES-GCM-equivalent security without needing any special hardware. Here's how the pairing works.

9 min read

← All tags