How to Migrate to Post-Quantum Cryptography: 5-Phase Guide
Why the PQC Migration Clock Just Sped Up
Picture this: an adversary copies your encrypted traffic today—every TLS session, every signed firmware blob, every database backup—and parks it in cold storage. They wait. Five years, maybe ten. The moment a sufficiently powerful quantum computer runs Shor's algorithm against your RSA-2048 or P-256 keys, that archive cracks open like a walnut. Security researchers call this Harvest Now, Decrypt Later (HNDL). Your data is already at risk. The lock on the door was picked years ago; you just haven't noticed the door swinging open yet.
For a while, the industry treated 2035 as a comfortable horizon. That comfort evaporated in the span of roughly six weeks.
On October 27, 2026, NIST published the final version of NIST IR 8547, its transition roadmap. The message was blunt: deprecate RSA, ECC, ECDH, ECDSA, and Diffie-Hellman after 2030; disallow them entirely after 2035. Then, on November 30, 2026, Anthropic released four AI-assisted cryptanalysis papers, led by a main paper proposing new quantum algorithms against integral and module lattices (while three companion papers actually strengthened the foundations of unstructured lattice schemes). Before anyone could spiral, the Cryptography Incident Review Group (CIRG) and Cloudflare's own team confirmed the attack sits at "galactic complexity"—utterly impractical against deployed ML-KEM and ML-DSA parameters. No keys broke. No ciphertexts fell.
What the papers did reveal: frontier AI is compressing the cryptanalysis research cycle. The ten-year buffer everyone assumed? Shrinking.
Two days later, on December 2, 2026—citing separate, undisclosed cryptographic discoveries privately shared by frontier AI labs—the NSA, CISA, and the White House ONCD issued a joint statement and advisory (echoed by the UK's NCSC) urging immediate acceleration of PQC adoption. That same day, OpenAI, Anthropic, Google, Microsoft, Apple, Amazon, Cloudflare, and Oracle issued a rare joint declaration backing the push, with Cloudflare CEO Matthew Prince warning publicly: "Do not ignore this. Do not underestimate it." On December 3, Cloudflare followed up with Project Quantum Leap, pulling its full PQC deadline forward from 2029 to the end of 2027.
What Actually Needs Replacing
Let's clear the fog. Quantum computers threaten asymmetric (public-key) cryptography. Shor's algorithm factors large integers and solves discrete logarithms efficiently, which guts RSA, Elliptic Curve Diffie-Hellman, and ECDSA. Symmetric cryptography tells a different story. Grover's algorithm only halves the effective key length, so AES-256 still delivers 128-bit quantum security and SHA-384 remains perfectly adequate. You do not need to rip out your symmetric layer. Breathe.
On August 13, 2024, NIST finalized its first three PQC standards: FIPS 203 (ML-KEM) for key encapsulation, FIPS 204 (ML-DSA) for digital signatures, and FIPS 205 (SLH-DSA), a stateless hash-based signature scheme as a conservative backup. In March 2025, NIST selected HQC as an additional code-based alternative to ML-KEM, and FIPS 206 (FN-DSA) remains in final drafting. The toolkit is ready. The question is execution.
One more distinction that trips up procurement teams: PQC is not Quantum Key Distribution (QKD). You are not buying photon emitters or fiber-optic quantum channels. PQC algorithms run on the same x86 servers, ARM chips, and cloud instances you already operate. No physics lab required.
| Legacy Algorithm | Quantum Threat | NIST PQC Replacement | Use Case | Migration Action |
|---|---|---|---|---|
| RSA-2048 / RSA-4096 | Broken by Shor | ML-KEM (FIPS 203) for key exchange; ML-DSA (FIPS 204) for signatures | TLS handshakes, code signing, certificates | Replace key exchange with hybrid X25519MLKEM768; migrate signatures to ML-DSA (FIPS 204) or SLH-DSA (FIPS 205) |
| ECDH / ECDSA (P-256, P-384) | Broken by Shor | ML-KEM (FIPS 203); ML-DSA or SLH-DSA (FIPS 205) | TLS, SSH, JWT signing, firmware attestation | Phase out by 2030 per NIST IR 8547 |
| Diffie-Hellman (finite field) | Broken by Shor | ML-KEM (FIPS 203); HQC as code-based backup (under standardization) | IPsec, legacy VPN tunnels | Migrate to hybrid KEM; retire classic DH |
| AES-256 | Grover halves strength → still 128-bit secure | No replacement needed | Bulk data encryption, disk encryption | Keep as-is |
| SHA-384 / SHA-512 | Minimal quantum impact | No replacement needed | HMAC, certificate hashing | Keep as-is |
How to Migrate to Post-Quantum Cryptography: A 5-Phase Field Guide
Phase 1 — Map Every Cryptographic Dependency (Build a CBOM)
You cannot migrate what you cannot see. Start by constructing a Cryptographic Bill of Materials (CBOM): a living inventory of every algorithm, key length, library version, and certificate chain across your infrastructure. Scan source code for hardcoded cipher suites. Audit TLS configurations on load balancers, API gateways, and internal service mesh. Pull the dependency trees of every third-party SDK—your payment processor, your identity provider, your logging pipeline. Don't forget the boring corners: VPN concentrators, HSM firmware, container image signing keys, and that decade-old Java service still negotiating TLS 1.0 with RSA key transport.
Phase 2 — Prioritize by Data Shelf Life, Not System Size
Not all ciphertext is equal. A TLS session key protecting a 30-second API call expires before lunch. A firmware signing key embedded in a medical device or a satellite controller might need to verify integrity for fifteen years. HNDL attackers go after the long-lived secrets first.
Your sequencing should follow data sensitivity and longevity:
- Key exchange and key encapsulation (TLS 1.3 handshakes, IPsec IKE): highest HNDL exposure, swap to hybrid ML-KEM immediately.
- Long-lived signatures (firmware, OS updates, root CA certificates, legal document notarization): migrate to ML-DSA or SLH-DSA next.
- Short-lived operational signatures (JWT tokens valid for 15 minutes, CI/CD build attestations): lower urgency, schedule last.
Phase 3 — Build Crypto-Agility and Deploy Hybrid Mode
Here is the lesson Anthropic's November 30 papers hammered home—not that ML-KEM is broken, but that the pace of cryptanalytic discovery is accelerating. Betting your entire infrastructure on a single algorithm family, however well-vetted, is a fragility you cannot afford.
Deploy hybrid cryptography now. In TLS 1.3, that means negotiating X25519MLKEM768: the client and server perform both a classic X25519 ECDH exchange and an ML-KEM-768 encapsulation, then derive the session key from both. Think of it as hanging two locks on the same door—one classic, one post-quantum. An attacker must break both.
Simultaneously, architect for crypto-agility. Abstract every cryptographic call behind an internal interface or policy engine. Business logic should never invoke RSA_sign() directly; it should request "sign this payload per current policy." When NIST finalizes FIPS 206 or a future algorithm supersedes ML-DSA, you swap the policy file—not refactor 200 microservices.
Phase 4 — Test for Bloat, Latency, and Legacy Hardware Limits
PQC keys and signatures are chunky. An ML-KEM-768 public key is roughly 1,184 bytes; its ciphertext around 1,088 bytes. An ML-DSA-65 signature lands at 3,309 bytes. Compare that to a 32-byte X25519 public key or a 64-byte Ed25519 signature. The bloat is real, and it bites in specific places:
- TLS ClientHello and ServerHello messages can exceed a single TCP segment, forcing IP fragmentation or extra round trips. Measure your handshake latency under hybrid mode before flipping the switch in production.
- Constrained IoT and embedded devices with 64 KB of RAM may simply not buffer an ML-KEM key pair alongside their existing stack. Profile memory ceilings early.
- Older HSMs and network appliances with fixed-size key slots often cannot store 1,184-byte public keys or 3 KB signatures without firmware updates—or outright replacement.
- Certificate chains grow. If your PKI issues intermediate certs signed with ML-DSA, downstream validators need updated parsing logic.
Stand up a staging environment that mirrors production traffic patterns. Run load tests. Watch p99 latency. Break things in the sandbox so you don't break them at 2 a.m. on a Friday.
Phase 5 — Execute Phased Rollout and Lock In Vendor Timelines
Align your rollout calendar to regulatory hard stops. CNSA 2.0 mandates that every new procurement for U.S. National Security Systems be PQC-compliant from January 1, 2027. NIST IR 8547 draws the broader line: deprecation of legacy public-key algorithms after 2030, full disallow after 2035. If you sell into government or regulated sectors, 2027 is your effective deadline, not 2030.
Roll out in waves. Edge services and public-facing TLS first. Internal service mesh second. Legacy back-office and third-party integrations last. For every vendor in your supply chain—cloud providers, SaaS platforms, certificate authorities—request written PQC roadmaps and contractual commitments. If a critical dependency cannot articulate a migration date, that is a risk register entry, not a footnote.
Three Migration Traps That Derail Engineering Teams
Trap 1: Confusing PQC with QKD hardware. You do not need quantum photon transceivers. PQC is software. It runs on your existing servers. Budget for engineering time, not physics equipment.
Trap 2: The big-bang cutover. Attempting to swap every algorithm across every service in a single release quarter is how you get a six-month outage. Phase it. Use feature flags. Roll back fast.
Trap 3: Ignoring upstream dependencies. Your code is PQC-ready, but your SaaS identity provider still negotiates ECDH-only TLS, or your CDN terminates connections with RSA-2048 certs. Audit the full chain, not just your own repo.
Frequently Asked Questions About PQC Migration
Did Anthropic's lattice papers break ML-KEM or ML-DSA?
No. The algorithms described in those November 30, 2026 papers operate at what cryptographers call "galactic complexity"—far beyond any feasible computation. CIRG and Cloudflare confirmed that deployed ML-KEM and ML-DSA parameter sets are unaffected. The papers highlight that AI is accelerating cryptanalysis research, reinforcing the need for crypto-agility, not immediate algorithm replacement.
Do I need to replace AES-256 or SHA-384?
No. Grover's algorithm only halves symmetric key strength, leaving AES-256 with 128-bit quantum security and SHA-384 fully adequate. NIST's PQC standards target asymmetric algorithms exclusively. Your symmetric layer stays put.
Will PQC slow down my website or TLS handshakes?
Hybrid key exchange adds roughly 1–2 KB to the TLS handshake, which can introduce a few milliseconds of latency or trigger packet fragmentation on constrained links.
When should a mid-size company start its PQC migration?
Now. Build your CBOM this quarter. Deploy hybrid TLS on public-facing services within six months. NIST IR 8547 deprecates legacy algorithms after 2030, and CNSA 2.0 procurement rules hit January 2027. If you serve government or regulated clients, the clock is already ticking.
Do I need to buy new hardware or quantum devices?
No. PQC algorithms execute on standard CPUs and existing server infrastructure. However, some legacy HSMs and embedded security chips may lack the memory or firmware support for larger PQC keys. Audit your hardware inventory; you may need firmware updates or targeted replacements, but not wholesale quantum hardware purchases.


