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