Classical algorithm · Key agreement
Diffie-Hellman Finite-field DH and DHE; MODP and FFDHE groups
Finite-field Diffie-Hellman is broken by Shor's algorithm. Its replacement is ML-KEM run as an ephemeral key exchange, deployed so far in hybrid with a classical exchange.
Against a quantum computer
Shor's algorithm computes discrete logarithms in polynomial time. An attacker who recorded a handshake recovers the session keys from the two public values. Forward secrecy does not help: it protects against later theft of a long-term key, not against solving the exchange itself.
Replacements
All algorithms →| Algorithm | Standard and status | Public key | Ciphertext or share |
|---|---|---|---|
| 2048-bit groupIn use today | Broken | 256 | 256 |
| 3072-bit groupIn use today | Broken | 384 | 384 |
| ML-KEMRun as an ephemeral exchange: the initiator sends an encapsulation key and the responder returns a ciphertext. | FIPS 203Final | 800 to 1,568 | 768 to 1,568 |
| 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 |
Sizes in bytes, from the smallest to the largest parameter set, without encoding.
What changes
- A KEM is not symmetric between the parties. One side generates a key pair and the other encapsulates to it, so the order of messages is fixed where Diffie-Hellman allowed either.
- IKEv2 adds ML-KEM as an additional key exchange next to the classical one (RFC 9370).
- ML-KEM-768 sends 1,184 bytes one way and 1,088 the other, against 256 each way for a 2048-bit group.
- Static Diffie-Hellman keys and non-interactive key agreement have no standardized replacement: see ECDH.
| 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 |
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