microZEUS
The whole stack, hand-drawn.

◄ Wiki / Crypto

ChaCha20-Poly1305

A widely used pairing that both encrypts data (ChaCha20) and proves it wasn't tampered with (Poly1305).

ChaCha20 is a fast stream cipher that turns plaintext into ciphertext, and Poly1305 is an authenticator that produces a tag detecting any modification. Combined, they form an AEAD scheme — authenticated encryption with associated data — giving both confidentiality and integrity in one primitive. It is a common modern alternative to AES-GCM, implemented here as a groundwork building block.

See also

  • constant-timeA coding discipline where execution timing never varies based on secret data.
  • CSPRNGA random-number generator strong enough for security use, where outputs can't be predicted even by an attacker.

Referenced by

CSPRNG