Atlas · Primitives

ChaCha20-Poly1305

A stream cipher and authenticator used as the alternative to AES, especially on phones without AES hardware.

ChaCha20-Poly1305 (RFC 8439) is designed for 256-bit security, runs about three times faster than AES where there is no AES hardware, and its RFC names it the standby should AES weakenIETF 2018. It carried 15.3% of Cloudflare's TLS connections in April 2017, is a negotiable alternative in TLS 1.3 and IPsec, and is WireGuard's only cipherCloudflare 2017IETF 2018IETF 2017WireGuard 2026. Its documented failures are nonce reuse in implementations, not breaks of the cipherIETF 2018. Assume it broken and WireGuard tunnels and the sessions that negotiated it lose confidentiality and integrity.

See it on the field

Under each scenario

Scenario, at its defaultsPeakReachedRecovers
A quantum computer breaks public-key cryptography0%not within 10 yrUnaffected
A classical break of an elliptic curve0%not within 10 yrUnaffected
SHA-256 collisions become practical0%not within 10 yrUnaffected
SHA-256 preimages become practical0%not within 10 yrUnaffected
A practical attack on AES0%not within 10 yrUnaffected
A post-quantum standard falls after migration0%not within 10 yrUnaffected
Randomness fails at scale0%not within 10 yrUnaffected
A dominant crypto library fails0%not within 10 yrUnaffected
A root of trust is compromised0%not within 10 yrUnaffected

Model Central runs. Open a scenario to change its assumptions.

Its numbers

Criticality (1 to 5): 5 (4 to 5) Assumption Primitives are rated by the reach of their failure; the model's harm comes from what depends on them.