Classical algorithm · Key agreement
ECDH X25519, X448, P-256, P-384; the basis of ECIES and HPKE
Elliptic-curve Diffie-Hellman is broken by Shor's algorithm. Its replacement is ML-KEM, deployed in hybrid with X25519 as X25519MLKEM768 in TLS 1.3 and as mlkem768x25519 in SSH. Non-interactive key exchange has no standardized replacement.
Against a quantum computer
Shor's algorithm computes elliptic-curve discrete logarithms in polynomial time, and published resource estimates are lower for 256-bit curves than for RSA-2048. Recorded handshakes can be decrypted later. This is the exposure that hybrid key exchange in TLS and SSH already closes.
Replacements
All algorithms →| Algorithm | Standard and status | Public key | Ciphertext or share |
|---|---|---|---|
| X25519In use today | Broken | 32 | 32 |
| P-256, uncompressed pointIn use today | Broken | 65 | 65 |
| ML-KEMThe general-purpose replacement. NIST recommends ML-KEM-768 as the default; CNSA 2.0 requires ML-KEM-1024. | FIPS 203Final | 800 to 1,568 | 768 to 1,568 |
| X25519MLKEM768X25519 and ML-KEM-768 combined, for TLS 1.3. The form in which most deployments have replaced ECDH so far. | RFC 10024Proposed Standard | 1,216 to 1,665 | 1,120 to 1,665 |
| HQCSelected by NIST as the second KEM, on a code-based assumption. No standard or draft yet. | FIPS (no number yet)Selected, in development | 2,249 to 7,245 | 4,433 to 14,421 |
| FrodoKEMUnstructured lattices, at the cost of keys and ciphertexts of 10 to 20 KB. Recommended by BSI and ANSSI. | ISO/IEC (in progress)Recommended by BSI and ANSSI; not selected by NIST | 9,616 to 21,520 | 9,720 to 21,632 |
| Classic McElieceStandardized by ISO/IEC in 2026 and under active cryptanalysis since. Not advised for new deployments. | ISO/IEC 18033-2 Amd 2New attacks in 2026 | 261,120 to 1,044,992 | 96 to 208 |
Sizes in bytes, from the smallest to the largest parameter set, without encoding.
Proposed, not standardized
- X-WingX25519 and ML-KEM-768 combined into one KEM, for use outside TLS. An individual Internet-Draft; the same construction is in a CFRG draft as MLKEM768-X25519.
- Post-quantum and hybrid KEMs for HPKEML-KEM and hybrid KEM identifiers for HPKE and the protocols built on it. An IETF working group draft.
- CSIDH, CTIDHIsogeny-based non-interactive key exchange, with 64-byte public keys at the original parameters. Quantum attacks put those parameters below their claimed level; later proposals use primes of 2,000 to 9,000 bits.
- SwooshLattice-based non-interactive key exchange. Public keys of about 220 KB in the passively secure version.
What changes
- No non-interactive key exchange. Two parties can no longer derive a shared key from each other's static public keys alone. Protocols built on that (X3DH, Noise patterns with static keys, WireGuard) are redesigned around KEMs, as Signal did with PQXDH.
- Hybrid first. Deployed replacements combine ML-KEM with X25519 or a NIST curve, so that the exchange is no weaker than ECDH if ML-KEM or its implementation fails.
- The X25519MLKEM768 key share is 1,216 bytes against 32, so a TLS ClientHello no longer fits in one packet.
- ML-KEM encapsulation keys must be checked on receipt (FIPS 203, section 7.2), where X25519 accepts any 32 bytes.
| Protocol | Mechanism | Document | Date | Status |
|---|---|---|---|---|
| TLS 1.3 | Hybrid key agreement: X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024 | RFC 10024 | 2026-08 | Proposed Standard |
| ML-KEM key agreement, non-hybrid | draft-ietf-tls-mlkem | 2026-09-03 | Approved, RFC pending | |
| SSH | Hybrid ML-KEM key exchange, including mlkem768x25519 | RFC 10042 | 2026-08 | Informational |
| IKEv2 / IPsec | ML-KEM key exchange | draft-ietf-ipsecme-ikev2-mlkem | 2026-07-07 | Approved, RFC pending |
| X.509 | Composite ML-KEM with a traditional KEM | draft-ietf-lamps-pq-composite-kem | 2026-10-12 | Approved, RFC pending |
| OpenPGP | Post-quantum key and signature formats | RFC 9980 | 2026-06 | Proposed Standard |
Deadlines
All jurisdictions →- NIST IR 8547 (U.S. federal)2030 All quantum-vulnerable public-key algorithms deprecated (RSA, ECDSA, EdDSA, DH, ECDH, MQV at every strength).
2035 All quantum-vulnerable public-key algorithms disallowed under NIST standards. - CNSA 2.0 (U.S. national security)2027-01-01 CNSA 2.0 algorithms required in all new National Security System acquisitions.
2030-12-31 Equipment and services that cannot support CNSA 2.0 phased out.
2031-12-31 CNSA 2.0 algorithms mandated for use. - Australia (ASD)2026-12-31 Refined post-quantum transition plan in place.
2028-12-31 Transition of critical systems under way.
2030-12-31 Transition complete; DH, ECDH and ECDSA no longer approved.
Claim refuted·No action required
'JVG algorithm' claim of RSA-2048 with 5,000 qubits dismissed
Show all 10 entries
Claim refuted·No action required
'D-Wave breaks RSA' coverage traced to factoring of a 22-bit integer
Claim refuted·No action required
Claim that 372 qubits could threaten RSA-2048 does not survive scrutiny