Classical algorithm · Public-key encryption
RSA encryption RSA-OAEP, RSAES-PKCS1-v1_5, RSA key transport
RSA encryption is broken by Shor's algorithm. Its replacement is ML-KEM, a key-encapsulation mechanism: it establishes a shared secret and does not encrypt a message of the caller's choice.
Against a quantum computer
Shor's algorithm factors the modulus in polynomial time, so a larger key does not help. Ciphertexts recorded today can be decrypted once a large enough quantum computer exists.
Replacements
All algorithms →| Algorithm | Standard and status | Public key | Ciphertext |
|---|---|---|---|
| RSA-2048In use today | Broken | 256 | 256 |
| RSA-3072In use today | Broken | 384 | 384 |
| 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 |
| 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
- Post-quantum and hybrid KEMs for HPKEML-KEM and hybrid KEM identifiers for HPKE, the general-purpose public-key encryption scheme. An IETF working group draft.
What changes
- ML-KEM does not encrypt a message of the caller's choice. Formats that RSA-encrypt a content key move to encapsulate, derive, then wrap. RFC 9629 defines this for CMS; the post-quantum KEMs for HPKE are still a working group draft.
- ML-KEM-768 encapsulation keys and ciphertexts are 1,184 and 1,088 bytes, against 256 for RSA-2048.
- Key generation is fast, so ephemeral keys and forward secrecy are practical where RSA key transport had neither.
- An RSA key pair used for both encryption and signing needs two replacements: ML-KEM and a signature algorithm.
| Protocol | Mechanism | Document | Date | Status |
|---|---|---|---|---|
| X.509 | ML-KEM keys | RFC 9935 | 2026-03 | Proposed Standard |
| Composite ML-KEM with a traditional KEM | draft-ietf-lamps-pq-composite-kem | 2026-10-12 | Approved, RFC pending | |
| CMS | ML-KEM key transport | RFC 9936 | 2026-03 | Proposed Standard |
| 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