Skip to main content
Cipher Visualizers home

Tag

#ChaCha20-Poly1305

5 articles with this tag.

A visual representation of the Noise Protocol Framework
Hybrid Functions Advanced

The Noise Protocol Framework

Noise is a framework for building secure channels from Diffie-Hellman exchanges. A protocol is a short pattern of tokens and a name. Learn the three state objects, the 38 handshake patterns, pre-shared keys, and the security properties, with a Python engine that reproduces 1,352 official test vectors.

34 min read

A visual representation of the SSH protocol handshake
Hybrid Functions Advanced

The SSH Protocol

SSH secures remote logins with a binary packet protocol, a curve25519-sha256 key exchange, and an Ed25519 host key. Learn the handshake and the chacha20-poly1305@openssh.com cipher, with Python code that reproduces the IETF draft's own worked example byte for byte.

29 min read

A visual representation of the WireGuard VPN protocol
Hybrid Functions Advanced

The WireGuard Protocol

WireGuard is a VPN protocol built on the Noise IKpsk2 handshake. Learn the two handshake messages, the cookie mechanism against denial of service, the replay window, and the timers, with Python code that reproduces an official test vector and the Linux kernel self-test.

37 min read

A visual representation of the Poly1305 Algorithm
Message Authentication Codes Intermediate

The Poly1305 Algorithm

Poly1305 is a fast one-time message authentication code that evaluates a polynomial modulo 2^130 - 5. Learn how its key is clamped, how each block joins the accumulator, why a key must never be reused, and how an attacker could recover it if it were.

14 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