Encryption Observer

Glossary The famous algorithms

ChaCha20

ChaCha20 is a symmetric cipher that scrambles data by mixing it with a long stream of random-looking numbers made from the key. It runs quickly in ordinary software, without needing the special AES circuits found in most modern chips.

Think of it like this

A second, equally strong lock that is easier to fit when you do not have the specialist tools.

Inside a TLS 1.3 connectionNeeds a post-quantum replacementStays safeFour algorithms work together. Only the key exchange and the certificate signature need a post-quantum replacement.
  1. 1Agree a secret Both sides combine key shares to make a shared secret. Typical choice: X25519, now paired with ML-KEM The hybrid with ML-KEM fixes this.
  2. 2Prove identity The server signs the conversation so far with its certificate's key. Typical choice: ECDSA or RSA Post-quantum certificates are still to come.
  3. 3Derive keys The shared secret is stretched into separate keys for each direction. Typical choice: HKDF with SHA-256 or SHA-384 Hash-based, so barely affected by quantum computers.
  4. 4Encrypt and tag Every record is encrypted and given a tag that detects tampering, with a unique number per record. Typical choice: AES-GCM or ChaCha20-Poly1305 Phones without AES hardware often use ChaCha20.

Why it matters

Phones and small devices without AES hardware can still encrypt quickly and safely.

Where you meet it

Secure web connections on many Android phones, WireGuard VPNs, SSH, and some messaging apps.

Go deeper history and technical detail

Daniel J. Bernstein published ChaCha in 2008 as a variant of his earlier Salsa20 cipher. Paired with the Poly1305 authenticator as ChaCha20-Poly1305 (RFC 8439), it is one of the two main ciphers in TLS 1.3, alongside AES-GCM. Google switched Chrome on Android to it in 2014 to speed up phones without AES hardware.

Read or watch next

Related terms

Cite this page Encryption Observer, “ChaCha20”, encryption.observer/terms/chacha20/, checked December 2026.