S
Home Cryptography ยท Updated 2026-07-16

Post-Quantum Cryptography

A sufficiently large, fault-tolerant quantum computer would break the asymmetric cryptography โ€” RSA, Diffie-Hellman, ECDH, ECDSA โ€” that essentially all current TLS, PKI, VPN, SSH, and code-signing infrastructure relies on. This isn't a distant, speculative concern to defer: "harvest now, decrypt later" means an adversary capturing and storing encrypted traffic today can decrypt it retroactively the moment a cryptographically-relevant quantum computer (CRQC) exists โ€” which means data with a long confidentiality shelf-life is already at risk, regardless of how many years away a CRQC actually is. This article covers the quantum threat model, the NIST-standardized post-quantum algorithms, practical migration guidance, and the regulatory timelines now driving urgency.

This article builds on, and assumes, the classical algorithm guidance in Encryption โ€” it covers what changes under the quantum threat and why, not a restatement of general encryption practice.


The Quantum Threat Model

Shor's Algorithm โ€” Breaking Asymmetric Cryptography

Shor's algorithm efficiently solves integer factorization and the discrete logarithm problem on a sufficiently large quantum computer โ€” the exact mathematical hardness assumptions that RSA, Diffie-Hellman, ECDH, and ECDSA all rely on. A CRQC running Shor's algorithm doesn't weaken these algorithms incrementally the way faster classical hardware does; it breaks them outright. This affects nearly every public-key use case in production today: TLS key exchange, PKI/certificate signatures, code signing, VPN key exchange, and SSH host and user keys.

Grover's Algorithm โ€” Weakening Symmetric Cryptography

Grover's algorithm gives a quadratic speedup for brute-force search, which roughly halves the effective security bits of symmetric ciphers and hash functions rather than breaking them outright. AES-128 is reduced to an effective ~64-bit security level under Grover โ€” inadequate โ€” which is why the Encryption article's existing recommendation of AES-256 as the standing default is the correct mitigation here too: AES-256 still provides an effective ~128-bit security level even against a quantum adversary. The same halving applies to hash function preimage resistance (SHA-256 โ†’ effective ~128-bit), which remains adequate but is part of why longer hash outputs are preferred for long-lived, high-assurance signatures.

"Harvest Now, Decrypt Later" (HNDL)

This is the actual driver of migration urgency โ€” not "when will a CRQC exist," but how long your data needs to stay confidential, plus how long migration takes. If data encrypted today needs to remain confidential for N more years, and your organisation's realistic migration timeline is M years, you needed to start migrating (N + M) years before a CRQC exists โ€” not after. State secrets, medical and genomic records, long-lived intellectual property, and legal/financial records with decades-long confidentiality requirements are exposed today under HNDL even though no CRQC is known to exist yet.


NIST Post-Quantum Cryptography Standards

Standard FIPS Based On Purpose Status
ML-KEM FIPS 203 CRYSTALS-Kyber Key encapsulation / establishment Finalized August 2024
ML-DSA FIPS 204 CRYSTALS-Dilithium Digital signatures Finalized August 2024
SLH-DSA FIPS 205 SPHINCS+ Digital signatures (stateless, hash-based) Finalized August 2024
FN-DSA FIPS 206 (draft) FALCON Digital signatures (compact) Draft; finalization expected ~2027
HQC โ€” Code-based Backup/alternate key encapsulation Selected March 2025; standard in development

Why Multiple Algorithms and Mathematical Foundations

This isn't redundancy for its own sake โ€” it's a deliberate hedge. Lattice-based algorithms (ML-KEM, ML-DSA, FN-DSA) are efficient and are the default choice for most deployments, but as a relatively newer hardness assumption they've had less cumulative cryptanalytic scrutiny than decades-old classical algorithms. Hash-based SLH-DSA rests on the security of hash functions themselves โ€” extremely conservative and well-understood, at the cost of much larger signatures. Code-based HQC provides a structurally unrelated hard problem specifically so that a future cryptanalytic advance against lattices doesn't leave the standardized portfolio with a single point of failure. Don't standardize on a single mathematical foundation for your most critical systems where an alternative is practical.


Hybrid and Composite Cryptography (Migration-Era Best Practice)

The recommended near-term deployment pattern is hybrid key exchange: combine a classical algorithm (X25519/ECDH) with a PQC KEM (ML-KEM) such that the combined scheme remains secure as long as either algorithm is unbroken. This is precisely because PQC algorithms are new relative to the decades of cryptanalysis classical algorithms have withstood โ€” hybrid mode means a flaw discovered in ML-KEM doesn't undo your security, and neither does a quantum break of X25519.

This is not theoretical โ€” X25519+ML-KEM-768 hybrid key exchange is already deployed in production by major browsers and services (Chrome, Cloudflare, and Google have supported hybrid post-quantum TLS key exchange in production since 2023โ€“2024). For signatures, an equivalent interim pattern is composite/hybrid certificates โ€” a certificate carrying both a classical and a PQC signature โ€” while CA and client ecosystem support for pure PQC certificate chains matures.


Migration Timeline and Regulatory Drivers

Driver Scope Key Dates
NIST IR 8547 Federal systems generally Classical algorithms (RSA, ECDSA, ECDH, DH) deprecated (no new deployments) by 2030; disallowed entirely by 2035
Executive Order 14412 โ€” "Securing the Nation Against Advanced Cryptographic Attacks" (signed June 22, 2026) Federal agencies (High Value Assets/High Impact Systems) and federal contractors PQC for key establishment by Dec 31, 2030; PQC for digital signatures by Dec 31, 2031; federal contractors must comply by Dec 31, 2030; NIST must complete a pilot migration project by Dec 31, 2027
NSA CNSA 2.0 National security systems, phased by category Software/firmware signing: prefer 2025, exclusive 2030. Web browsers/servers/cloud: prefer 2025, exclusive 2033. Networking equipment (VPN/routers): prefer 2026, exclusive 2030. Operating systems: prefer 2027, exclusive 2033. Niche/constrained/large PKI: prefer 2030, exclusive 2033

Practical implication: even organisations with no direct federal or national-security regulatory obligation should treat these as the de facto industry baseline โ€” CA, browser, cloud provider, and protocol library support is being built to these deadlines regardless of any individual organisation's own compliance scope, and vendor deprecation of classical-only code paths will follow the same timeline.


Building a Migration Plan

  1. Cryptographic inventory first. You cannot migrate what you haven't catalogued. Build a full inventory of every place classical public-key cryptography is used โ€” TLS endpoints, VPN and SSH keys, PKI/CA hierarchies, code and firmware signing, embedded/IoT device certificates, document signing, and HSM-backed keys used for key wrapping. Consider maintaining this as a Cryptographic Bill of Materials (CBOM) โ€” the same discipline as the SBOM practice covered in SAST and SCA, applied to cryptographic assets instead of software dependencies.
  2. Prioritise by data sensitivity and shelf-life, applying the HNDL math above โ€” a system protecting data that must stay confidential for 20 years is a higher near-term priority than one protecting data with a one-year shelf-life, independent of any regulatory deadline category.
  3. Prioritise by migration difficulty and blast radius next. PKI root/intermediate CA hierarchies and firmware/embedded-device signing have the longest lead times โ€” hardware refresh cycles, embedded fleets that can't be remotely re-keyed, and CA chain re-issuance lead times โ€” start these earliest, not last.
  4. Adopt hybrid modes as the default posture during the transition, not pure PQC-only, for the algorithmic-diversity hedge described above.
  5. Track actual vendor and library support, not just standard availability. Confirm your TLS stack, cloud KMS, and CA/PKI vendor genuinely support ML-KEM/ML-DSA in the specific product and version you run before committing to a migration date.
  6. Re-test performance and size assumptions. PQC keys, ciphertexts, and signatures are meaningfully larger than their classical equivalents (see the table below) โ€” this can affect TLS handshake fragmentation behaviour, embedded-device memory/flash constraints, and size assumptions baked into legacy protocol implementations.
  7. Plan for crypto-agility. Design systems so the next algorithm swap doesn't require a full re-architecture โ€” this will not be the last cryptographic transition your systems go through.

Size and Performance Comparison

Post-quantum algorithms are not drop-in replacements from a size perspective โ€” this is one of the most common sources of migration surprises (protocol fragmentation, embedded device constraints, storage assumptions):

Algorithm Type Public Key Signature / Ciphertext Notes
X25519 Classical ECDH 32 bytes 32 bytes (shared secret) Baseline for comparison
ML-KEM-768 PQC KEM 1,184 bytes 1,088 bytes (ciphertext) Roughly NIST Level 3 (~AES-192-equivalent)
RSA-3072 Classical signature ~384 bytes ~384 bytes Baseline for comparison
ML-DSA-65 PQC signature 1,952 bytes 3,309 bytes Roughly NIST Level 3
SLH-DSA-128s PQC signature (hash-based) ~32 bytes 7,856 bytes Tiny public key, large signature โ€” the opposite size tradeoff to ML-DSA

The "s" (small/slow) SLH-DSA parameter sets favour a smaller signature at the cost of slower signing; "f" (fast) variants exist with the reverse tradeoff. Choose based on which resource โ€” bandwidth/storage or CPU time โ€” is actually constrained in your deployment.


Migration Checklist

Control Priority Notes
Cryptographic inventory (CBOM) completed across TLS, VPN, PKI, signing, and embedded systems Critical The prerequisite for every other step
Systems prioritised by data confidentiality shelf-life, not just regulatory category High Applies the HNDL urgency model directly
Hybrid key exchange (classical + ML-KEM) adopted as the default during transition High Hedges against undiscovered flaws in newer PQC algorithms
PKI/CA hierarchies and firmware/embedded signing scheduled first, given longest lead times Critical These have the least flexibility to compress migration timelines later
Vendor/library PQC support confirmed in the specific product and version deployed, not assumed from standard availability High Standard publication and vendor support often lag by years
Protocol/embedded size assumptions re-tested against larger PQC key/signature/ciphertext sizes Medium A common source of handshake fragmentation and embedded-device failures
Crypto-agility designed into new systems (algorithm swap without full re-architecture) Medium This will not be the last transition
Migration plan mapped against NIST IR 8547, EO 14412, and/or CNSA 2.0 deadlines as applicable Medium Even non-federal organisations should treat these as the industry-wide baseline

References

The Security Architecture Site โ€” for internal reference use. Back to contents