isquantumsafe / Post-quantum cryptography explained
Post-quantum cryptography, explained
Why quantum computers threaten today's encryption, what ML-KEM is, how it reached the web, and what “harvest now, decrypt later” means for your data.
What is post-quantum cryptography?
- The threat
- Shor's algorithm (1994) breaks RSA and elliptic curves on a large quantum computer.
- The fix
- ML-KEM, standardised by NIST as FIPS 203 in August 2024.
- On the web
- Hybrid X25519MLKEM768 in TLS 1.3, offered by Chrome, Firefox and Apple by default.
- Your move
- Enable it on your server or CDN, then check your domain.
Post-quantum cryptography is ordinary software encryption designed to resist attackers who own a large quantum computer. It runs on today's phones, laptops and servers and needs no quantum hardware. It replaces the public-key methods, such as RSA and elliptic curves, that protect almost every HTTPS connection today.
In 1994 Peter Shor showed that a large, error-corrected quantum computer could break RSA and elliptic-curve cryptography outright. No such machine exists yet, but attackers can record encrypted traffic now and decrypt it later. That threat, called harvest now, decrypt later, is why key exchange is being upgraded first.
In 2016 NIST opened a public competition to find replacements. After three rounds of analysis it chose CRYSTALS-Kyber in 2022, a scheme based on hard lattice problems. In August 2024 Kyber was published as ML-KEM in the FIPS 203 standard, alongside the ML-DSA and SLH-DSA signature standards.
Most websites now use hybrid key exchange. The common version, X25519MLKEM768, runs a classical X25519 exchange and an ML-KEM-768 exchange in the same TLS handshake and combines the results. An attacker would have to break both. Chrome, Firefox and Apple's operating systems offer it by default.
- 1994Peter Shor shows quantum computers could break RSA and elliptic curves.
- 1996Grover's algorithm weakens, but does not break, symmetric encryption.
- 2005Oded Regev introduces Learning With Errors, the basis of ML-KEM.
- 2016NIST launches its post-quantum competition; Google tests CECPQ1 in Chrome.
- 2022NIST selects CRYSTALS-Kyber for post-quantum key establishment.
- 2024NIST publishes FIPS 203 (ML-KEM); Chrome adopts X25519MLKEM768.
- 2025NIST picks HQC as a backup; OpenSSL 3.5 ships hybrid by default.
- 2026IETF publishes RFC 10024; 73% of Cloudflare human traffic is post-quantum.
10 sources
- Shor's algorithm (Wikipedia)
- Grover's algorithm (Wikipedia)
- Learning with errors (Wikipedia)
- NIST Post-Quantum Cryptography Standardization (Wikipedia)
- NIST Releases First 3 Finalized Post-Quantum Encryption Standards
- NIST Selects HQC as Fifth Algorithm for Post-Quantum Encryption
- Google Security Blog: A new path for Kyber on the web
- OpenSSL 3.5 Final Release
- RFC 10024: PQ/T Hybrid Key Agreement Mechanisms for TLS 1.3
- Cloudflare: Post-quantum cryptography is still safe
Recorded today, decrypted tomorrow
Encrypted traffic can be captured now and stored until a quantum computer can open it. Contracts, health records and customer data stay sensitive for decades, so the exposure has already started.
The defence is the key exchange, and on most stacks it is one configuration change. That is why we test it first and weigh it most.
One handshake decides it
Every HTTPS connection starts with client and server agreeing on a key. Change either side and see what a recorded session is worth to a future quantum computer.
- ClientClientHello · TLS 1.3 · offers X25519MLKEM768, X25519, P-2561,216 B key share
- ServerServerHello · TLS 1.3 · picks X25519MLKEM7681,120 B key share
- BothSession key from X25519 + ML-KEM-768hybrid
Recording stays sealed
Breaking it needs both X25519 and ML-KEM broken. ML-KEM resists known quantum attacks.