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.
A second, equally strong lock that is easier to fit when you do not have the specialist tools.
- 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.
- 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.
- 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.
- 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
- Introduction to Cryptography by Christof PaarChristof Paar, Ruhr University Bochum (YouTube, 2014), lecture series
Related terms
Cite this page Encryption Observer, “ChaCha20”, encryption.observer/terms/chacha20/, checked December 2026.