Quantum Computing and Encryption: What Public-Key Migration Means Now
No cryptographically relevant quantum break of deployed RSA-2048 or 256-bit elliptic-curve cryptography has been publicly demonstrated. The risk still matters now, but it is three separate risks with three different deadlines, and treating them as one leads to the wrong migration plan.
Table of Contents
Public discussion of quantum computing and encryption tends to collapse into one claim: a quantum computer will break encryption. That claim is too broad to plan against. What a cryptographically relevant quantum computer (CRQC) would actually threaten depends on the algorithm, on whether you need confidentiality or authenticity, and on how long the protected data or device has to stay trustworthy.
This article separates the problem into three threat models, explains what is and is not known about the hardware, and ends with a migration priority table. For the hardware side, meaning what happens when the cryptography is fixed in silicon, see Part 2: Post-Quantum Cryptography on Embedded Systems: Memory, Latency and Upgrade Paths.
Three Different Risks, Not One
| Threat model | What the attacker needs | When it bites | What it affects | Proportionate response |
|---|---|---|---|---|
| Harvest now, decrypt later | Recorded ciphertext today, plus a CRQC later | Before the CRQC exists, for data that must stay secret past its arrival | Confidentiality of sessions whose keys were agreed with RSA, finite-field DH or ECDH | Move key establishment to ML-KEM or a hybrid scheme first, starting with long-lived data |
| Future public-key decryption or forgery | A working CRQC running Shor’s algorithm | Only once the machine exists, but long-lived keys and boot ROMs must be replaced before then | Signatures and authentication: certificates, code and firmware signing, device identity | Plan signature migration; build algorithm agility into roots of trust now |
| Symmetric key search with Grover’s algorithm | A very large, very long-running quantum computation | NIST continues to approve AES-128; idealised search costs are not a practical break | Symmetric keys (key search) and hash preimages; collision resistance is assessed separately | No emergency change; NIST treats AES-128 as meeting its lowest post-quantum category |
The first row is the reason migration has to start before anyone can say when a CRQC will exist. The second explains why devices and trust anchors with long service lives are the hardest part. The third is limited by the cost of very long serial quantum computations, explained below.
What Shor’s Algorithm Breaks

RSA relies on the difficulty of factoring large integers. Elliptic-curve cryptography (ECDH for key agreement, ECDSA and EdDSA for signatures) relies on the elliptic-curve discrete logarithm problem. Classic Diffie-Hellman relies on the discrete logarithm in a finite field. Peter Shor’s algorithm, published in full in the SIAM Journal on Computing in 1997, solves both factoring and discrete logarithms in polynomial time on a fault-tolerant quantum computer. That threatens widely deployed classical public-key schemes, not every possible public-key construction.
It does not cover all public-key cryptography. ML-KEM (FIPS 203), ML-DSA (FIPS 204) and SLH-DSA (FIPS 205), which NIST published in August 2024, are public-key algorithms built on problems for which no efficient quantum algorithm is known. “Public-key cryptography is finished” is therefore the wrong summary. The accurate one is that RSA, finite-field DH and elliptic-curve schemes have to be replaced.
For scale on the classical side: NIST SP 800-57 Part 1 Rev. 5 (Table 2) rates RSA-2048 at 112 bits of security strength against classical computers. This is a comparison of mathematical cryptanalysis: implementation bugs, stolen keys and side channels can defeat a system without factoring RSA.
Grover’s Algorithm and AES-128
Grover’s algorithm gives a quadratic speedup for unstructured search. The common shorthand says this halves a symmetric key’s strength, so AES-128 becomes “64-bit” and is therefore breakable. That shorthand counts idealized query steps and leaves out what a real attack would cost.
Grover’s speedup depends on one very long serial computation. In its security evaluation criteria for the post-quantum standards, NIST notes that a realistic attack has to split the search across many smaller parallel instances, which makes the speedup much less dramatic. NIST’s estimate for AES-128 key recovery is about 2170/MAXDEPTH quantum gates, where MAXDEPTH is the longest serial computation an attacker can run, which NIST puts at 240 to 296 logical gates. NIST also states that categories defined by AES “provide substantially more quantum security than a naïve analysis might suggest.”
NIST used exactly this benchmark to define its lowest post-quantum security level: Category 1 means any attack must need at least the resources of an AES-128 key search. The final NIST IR 8547 (October 2026) lists AES-128 in Category 1 and says NIST does not expect to transition away from its symmetric standards as part of the post-quantum migration. The symmetric algorithms NIST will disallow in 2030 are the 112-bit ones, for classical reasons.
The practical conclusion is calmer than “migrate off AES-128 now.” If a new design can use AES-256 at negligible cost, it is a reasonable margin, and some policies require it: NSA’s CNSA 2.0 suite for National Security Systems specifies AES-256. NIST does not call for abandoning AES-128 as part of this transition.
Where Quantum Hardware Stands
No public quantum computer can run Shor’s algorithm against RSA-2048 or a 256-bit elliptic curve. Headline qubit counts measure physical qubits, which are noisy. The resource estimates below require a large fault-tolerant computation, with error correction and sustained operation, not merely a physical-qubit count. IBM’s Condor processor, announced in December 2023 with 1,121 superconducting qubits, is a physical-qubit milestone, not a cryptanalytic one.
What has changed is the estimated cost. In 2021, Gidney and Ekerå (Quantum, vol. 5, p. 433) estimated that factoring RSA-2048 would take about 20 million noisy qubits running for roughly eight hours. In May 2025, Craig Gidney (arXiv:2505.15917) lowered that to fewer than one million noisy qubits running for less than a week, assuming a 0.1% physical error rate, a 1 µs surface-code cycle, a 10 µs control reaction time and a nearest-neighbour grid. These are assumptions, not achieved system specifications.
These are models, not measurements. They depend on assumed error rates, error-correction overhead and circuit design, and they can move when any of those assumptions is refined. The trend is the useful signal: the estimated cost has fallen sharply while the hardware itself is still far from the requirement. Neither number is a date, and neither is a safe threshold to wait for.
Harvest Now, Decrypt Later: The Risk That Applies Today
The one quantum risk that applies before a CRQC exists is collection. An adversary who records encrypted traffic today can store it and decrypt it later if the session keys were agreed with RSA, DH or ECDH. Once a CRQC can recover those keys, the recorded sessions are readable.
CISA, NSA and NIST described this in their joint factsheet Quantum-Readiness: Migration to Post-Quantum Cryptography (August 21, 2023). NIST IR 8547 calls it one of the main reasons the transition is urgent, and frames the timing with Mosca’s inequality: if migration time (Y) plus data shelf life (X) exceeds the time to a CRQC (Z), some data protected with vulnerable cryptography during the migration may still be sensitive when that computer arrives.
That makes data shelf life the first planning input. Medical records, legal files, merger negotiations, long-term commercial secrets and government communications can stay sensitive for a decade or more. The value of a one-time code may expire quickly, although the surrounding session can still contain long-lived sensitive information. Much of this traffic crosses long-haul links, including the submarine cables that carry most intercontinental internet traffic, where interception at scale is a known concern.
Harvest now, decrypt later is primarily a confidentiality problem in key establishment. Short-lived confidentiality needs do not imply low authentication risk. Signature migration has a different clock: once forgery is possible, old keys can no longer establish trust on their own, including for long-lived signed records. Trusted timestamps and archival validation need their own migration plans. NIST therefore distinguishes the two migration tasks rather than treating signatures as irrelevant.
Signatures and Long-Lived Trust Anchors
Forgery becomes possible only once a CRQC exists. The difficulty is that some signature keys and verification code last a very long time.
Web PKI. Publicly trusted TLS certificates are signed with RSA or ECDSA. A CRQC could forge them, which would undermine server authentication for any site. Certificates are relatively short-lived and can be reissued, so the constraint is the ecosystem (browsers, CAs, protocol support) rather than any single operator.
Code and firmware signing. This is harder. A device whose boot ROM verifies firmware with a fixed RSA or ECDSA public key cannot change that check with a software update. If the device is expected to stay in service past the point where those signatures can be forged, its secure-boot design needs a post-quantum path now, such as LMS or XMSS (NIST SP 800-208) or ML-DSA. Vehicles are a clear example: ECUs use public-key signatures for secure boot and over-the-air updates, as covered in Tesla at Pwn2Own: What Disclosed Vulnerabilities Show About EV Cybersecurity and Self-Driving Car Hardware Security: Sensor and Compute Attack Risks. In-vehicle buses such as CAN have separate weaknesses that have nothing to do with quantum computing.
Cryptocurrency. Ethereum externally owned accounts and Bitcoin’s older spending types use ECDSA on secp256k1; Bitcoin Taproot uses Schnorr signatures on the same curve, so a CRQC could derive a private key from an exposed public key. For Bitcoin’s P2PKH and P2WPKH addresses, the address is a hash of the public key, and the key appears on-chain only when the owner spends from it. Reused addresses therefore already have exposed public keys. Taproot (P2TR) outputs, defined in BIP 341, place the tweaked public key on-chain when funds are received. Ethereum accounts expose the public key after the first outgoing transaction; contract accounts and newer account mechanisms need their own analysis. This is a future quantum threat model, not evidence of an existing quantum exploit.
What the Standards Settle and What They Don’t
NIST finalized three post-quantum standards in August 2024:
- ML-KEM (FIPS 203, derived from CRYSTALS-Kyber) for key encapsulation
- ML-DSA (FIPS 204, derived from CRYSTALS-Dilithium) for digital signatures
- SLH-DSA (FIPS 205, derived from SPHINCS+) for stateless hash-based signatures
The final NIST IR 8547 sets the outer dates: quantum-vulnerable public-key algorithms (RSA, ECDSA, EdDSA, and finite-field and elliptic-curve DH) are deprecated after 2030 and disallowed under NIST standards after 2035. For US federal non-National-Security high-value assets and high-impact systems, Executive Order 14412, section 4(b)(ii)–(iii), directs OMB to require earlier deadlines: December 31, 2030 for key establishment and December 31, 2031 for signatures. OMB M-26-15 implements the federal migration plan, including additional high-sensitivity systems; NIST’s announcement explains the scope. These are federal requirements, not a general legal deadline for every private system. The UK NCSC’s March 2025 guidance sets migration milestones for 2028, 2031 and 2035, and NSA’s CNSA 2.0 (September 2022) sets the schedule for National Security Systems.
The standards specify approved primitives for particular functions. Choosing among them and integrating them remains application-dependent:
- which parameter set fits the security target and the device budget
- whether to deploy hybrid key establishment (a classical exchange such as X25519 or ECDH P-384 combined with ML-KEM, with the goal of retaining confidentiality if either component holds, using a suitable combiner and authenticated protocol) or post-quantum only. IR 8547 permits hybrid modes as a transition measure and notes the added complexity; NIST SP 800-56C Rev. 2 covers deriving keys from combined secrets
- protocol support: TLS, IKEv2 (RFC 9370 defines multiple key exchanges for IKEv2), X.509 certificates and code-signing formats
- implementation quality, including side-channel resistance on constrained hardware
Deployments already exist. Signal added its PQXDH key agreement in September 2023, and hybrid X25519MLKEM768 key agreement is now enabled by default in all major browsers and in libraries such as OpenSSL; Cloudflare reported in October 2025 that over half of human-initiated traffic it handles was protected this way. For organisations relying on browsers, TLS libraries or VPN products, vendor support and upgrade paths belong in the inventory; do not assume every installed product will be upgraded.
A Migration Priority Table
| System or data | Main threat model | Priority | Typical action |
|---|---|---|---|
| Long-lived confidential data in transit (health, legal, M&A, government) | Harvest now, decrypt later | Highest | Hybrid or post-quantum key establishment in TLS and VPNs now where browsers, servers and libraries already support it; confirm for VPNs and other products |
| Site-to-site and remote-access VPNs (IKEv2) | Harvest now, decrypt later | High | Confirm vendor support for multiple key exchanges with ML-KEM; plan upgrades |
| Secure boot and firmware signing in devices with 10+ year service lives | Future forgery, plus immutable verification code | High for new designs | Hash-based (LMS/XMSS) or ML-DSA-capable boot chains; algorithm agility in the root of trust |
| Publicly trusted TLS certificates | Future forgery | Medium | Follow CA and browser roadmaps; keep certificate automation and agility in place |
| Short-lived session data (minutes to days of value) | Little exposure | Low | Migrate with normal upgrade cycles |
| Bulk encryption with AES-128 | Grover search | Low | No forced change; AES-256 where policy requires it or cost is negligible |
| Reused cryptocurrency addresses | Future forgery | User-level | Avoid address reuse; follow wallet and protocol migration work |
What to Do First
- Inventory where public-key cryptography runs. Include components, not only software: HSMs, secure elements, TPMs and embedded devices, and note which ones have fixed algorithms in silicon or ROM. Some will need replacement rather than an update. Part 2 covers how to tell the difference.
- Rank by data shelf life and device lifetime. Anything that must stay confidential, or keep verifying firmware, past the early 2030s goes to the top.
- Test ML-KEM and ML-DSA in your own protocols and hardware. Measure handshake sizes, latency and memory before committing to a rollout plan. Protocol standardisation alone is not proof of installed-product interoperability or resource fit.
- Design new products for algorithm change. Leave memory and update headroom, and avoid hard-wiring a single signature algorithm into boot code.
No Date, and Why That Is Not a Reason to Wait
There is no reliable arrival date for a cryptographically relevant quantum computer. The NCSC milestones and the IR 8547 dates are migration targets, not predictions. RAND’s 2023 assessment of industrial control systems (RR-A2427-1) concludes that migration is necessary across critical infrastructure, and it too is a risk assessment rather than a forecast of when a CRQC will exist.
The X + Y versus Z test above is a planning tool, not a prediction that all data protected today survives until a CRQC arrives. For example, with a five-year data shelf life, a six-year migration and a ten-year quantum horizon, data protected today expires in year five; data protected with vulnerable cryptography late in the migration may still be sensitive in year ten. For most organizations that means starting with key establishment for long-lived data and with the roots of trust in long-lived hardware. The same exposure applies to smart city hardware, where sensors, small cells and edge nodes rely on the same public-key algorithms with very different upgrade paths.
For the board-level view of that migration, including memory budgets on Cortex-M parts, TPM upgrade paths and FPGA key delivery, read Part 2: Post-Quantum Cryptography on Embedded Systems: Memory, Latency and Upgrade Paths.
About the Author
Imran Valiani | Sales Director, PCB electronics manufacturing (sales and program side)
Twenty-plus years in PCB manufacturing and technology sales, working with major Bay Area and global tech clients, including automotive and medical programs. I quote boards and handle customer conversations, lead times, and orders. Founder of Silicon to Software, where I write about the hardware layer — PCBs, advanced packaging, AI systems, and cybersecurity — from that sales and program perspective.
Follow: X @SiToSoftware | LinkedIn
For more analysis of technologies moving from research toward real engineering constraints, explore the Emerging Technologies Resource Hub.
This article was developed with AI assistance and edited, fact-checked, and reviewed by the author. See my full AI disclosure.
Listen to the Silicon to Software podcast on Apple Podcasts, Spotify, or RSS.com — and watch on YouTube.
Sources & Further Reading
- NIST SP 800-57 Part 1 Rev. 5, Table 2
- Peter Shor, SIAM Journal on Computing 26(5), 1997 (AT&T Bell Labs, 1994)
- Gidney & Ekerå, Quantum Vol. 5, p. 433, April 2021
- Craig Gidney, arXiv preprint 2505.15917, May 2025
- IBM Quantum Summit, December 4, 2023
- FIPS 203 — NIST, August 2024
- FIPS 204 — NIST, August 2024
- FIPS 205 — NIST, August 2024
- CISA/NSA/NIST Quantum-Readiness factsheet, August 21, 2023
- NSA CNSA 2.0 Advisory, September 2022
- NIST IR 8547 (final, October 2026); NIST SP 800-56C Rev. 2; RFC 9370 (IKEv2 multiple key exchanges)
- Signal Engineering Blog, September 2023
- NCSC, “Timelines for Migration to Post-Quantum Cryptography,” March 2025
- RAND Corporation RR-A2427-1, October 2023
- Bitcoin Improvement Proposal 341 (BIP 341), “Taproot: SegWit version 1 spending rules”