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 →
AlgorithmStandard and statusPublic keyCiphertext
RSA-2048In use todayBroken256256
RSA-3072In use todayBroken384384
ML-KEMThe general-purpose replacement. NIST recommends ML-KEM-768 as the default; CNSA 2.0 requires ML-KEM-1024.FIPS 203Final800 to 1,568768 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 development2,249 to 7,2454,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 NIST9,616 to 21,5209,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 2026261,120 to 1,044,99296 to 208

Sizes in bytes, from the smallest to the largest parameter set, without encoding.

Proposed, not standardized

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 support

Standards that carry the replacementAll protocols →
ProtocolMechanismDocumentDateStatus
X.509ML-KEM keysRFC 99352026-03Proposed Standard
Composite ML-KEM with a traditional KEMdraft-ietf-lamps-pq-composite-kem2026-10-12Approved, RFC pending
CMSML-KEM key transportRFC 99362026-03Proposed Standard
OpenPGPPost-quantum key and signature formatsRFC 99802026-06Proposed Standard
  • 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.

Record

10 entriesFeed →
Show all 10 entries