Your Encryption Has an Expiry Date: From RSA to Quantum-Safe Cryptography
Which algorithms are broken, which are fine for now and which are quantum-safe, as of December 2026. Plus what the NSA's AI-driven post-quantum advisory changes and what to do next.
A large quantum computer running Shor’s algorithm breaks every public-key scheme in common use: RSA, Diffie-Hellman and elliptic curves (ECDH, ECDSA, Ed25519). Symmetric crypto is different. Grover’s algorithm only halves the effective key length, so AES-256 and SHA-256 stay secure.
No such quantum computer exists today. That does not buy time: anything recorded now (“harvest now, decrypt later”) can be decrypted once one does. Data that has to stay secret for ten years needs post-quantum key exchange today.
What changed in late 2026
- NIST set the end date. The final NIST IR 8547 (27 October 2026) deprecates RSA, ECC and finite-field DH after 2030 and disallows them after 2035, at every key size. The draft had spared RSA-3072 and P-256 until 2035. That exception is gone.
- The NSA said “now”. On 2 December 2026 the NSA published the advisory Immediate Actions to Push Toward Post-Quantum, together with a joint CISA, NSA and ONCD statement. It cites undisclosed discoveries that frontier AI companies shared with the government. The statement calls them no “immediate and widespread threat”, but tells national security system owners to move to CNSA 2.0 without waiting. Its inventory step flags elliptic curves other than P-384 and P-521. Some cryptographers, Filippo Valsorda among them, read that as a hint at classical weaknesses in 256-bit curves. No public attack on P-256 or X25519 exists.
- Lattices got a scratch, not a crack. On 30 November Anthropic published an AI-found quantum algorithm against module lattices, the maths behind ML-KEM and ML-DSA. It is “galactic”: against ML-KEM-512 and ML-DSA-44 it needs far more than 2^1000 quantum operations, slower than older attacks. The review group’s advice is to pick the highest security level each application can afford and to keep hybrids.
Sources: heise, The Hacker News, Tenable FAQ on the lattice papers.
Which algorithms are safe (December 2026)
| Algorithm | Use | Verdict | Note |
|---|---|---|---|
| DES, 3DES | Encryption | Not safe | DES brute-forced in 1998; 3DES disallowed since 2024 (Sweet32) |
| RC4 | Encryption | Not safe | Keystream biases; banned in TLS (RFC 7465) |
| MD5, SHA-1 | Hash, signatures | Not safe | Practical collisions (Flame, SHAttered) |
| RSA, DH below 2048 bit | Key exchange, signatures | Not safe | Below 112-bit security |
| RSA-2048, RSA-3072+ | Key exchange, signatures | OK today | Shor breaks it; deprecated after 2030, disallowed after 2035 |
| DH 2048+ (finite field) | Key exchange | OK today | Same as RSA |
| ECDH, ECDSA P-256 | Key exchange, signatures | OK today | Same as RSA; NSA wants P-384 or higher |
| X25519, Ed25519 | Key exchange, signatures | OK today | Same as P-256; use X25519 only inside a hybrid |
| ECDH, ECDSA P-384, P-521 | Key exchange, signatures | OK today | CNSA 1.0 interim choice until PQC is in place |
| AES-128 | Encryption | Quantum-safe | Grover leaves 2^64 serial steps; CNSA 2.0 still requires AES-256 |
| AES-256, ChaCha20-Poly1305 | Encryption | Quantum-safe | 256-bit key |
| SHA-256, SHA-384, SHA-512, SHA-3, HMAC | Hash, MAC | Quantum-safe | CNSA 2.0 requires SHA-384 or SHA-512 |
| ML-KEM (FIPS 203) | Key exchange | Quantum-safe | Lattice-based; prefer ML-KEM-1024 (CNSA 2.0) |
| X25519MLKEM768 | Key exchange | Quantum-safe | Hybrid default in TLS 1.3 (browsers, Cloudflare, OpenSSL 3.5) |
| ML-DSA (FIPS 204) | Signatures | Quantum-safe | Lattice-based; ML-DSA-87 for CNSA 2.0 |
| SLH-DSA (FIPS 205) | Signatures | Quantum-safe | Hash-based; large signatures, minimal assumptions |
| LMS, XMSS (SP 800-208) | Firmware signing | Quantum-safe | Stateful: a reused key state breaks security |
| FN-DSA (FIPS 206) | Signatures | Not final | Falcon; smaller signatures than ML-DSA, standard still pending |
| HQC (FIPS 207) | Key exchange | Not final | Code-based backup for ML-KEM; draft still pending |
Not safe means stop using it now. OK today means classically secure but broken by a future quantum computer, so it needs a migration plan. Quantum-safe means no known quantum attack at the listed strength.
Deadlines and what to do now
| Who | Deadline |
|---|---|
| US national security systems (CNSA 2.0) | New purchases must support CNSA 2.0 from 1 January 2027; legacy phased out by 2030 |
| US federal high-impact systems | PQ key exchange by 31 December 2030, PQ signatures by 31 December 2031 |
| NIST (everyone using NIST standards) | RSA and ECC deprecated after 2030, disallowed after 2035 |
| UK NCSC | Discovery by 2028, priority systems by 2031, everything by 2035 |
- Inventory. Find every place that uses RSA, ECC or DH: TLS, VPN, SSH, code signing, PKI, firmware roots of trust, HSMs.
- Fix key exchange first. It is the part “harvest now, decrypt later” attacks. Move to TLS 1.3 with the hybrid X25519MLKEM768 (ML-KEM-1024 where CNSA 2.0 applies). OpenSSH 10 already defaults to
mlkem768x25519-sha256. - Plan signatures and PKI. Set up CAs that can issue ML-DSA certificates. Hardware that is hard to update (firmware, secure boot, roots of trust) gets LMS, XMSS or ML-DSA at purchase.
- Check symmetric settings. AES-256 and SHA-384 or better cover CNSA 2.0; there is nothing else to change.
- Build for the next swap. Keep algorithms configurable. ML-KEM is young, the lattice research is moving, and FN-DSA and HQC are still coming.