Research/Post-Quantum Cryptography: The Migration Web3 Protocols Cannot Defer
14 min read

Post-Quantum Cryptography: The Migration Web3 Protocols Cannot Defer

Every ECDSA private key in existence is theoretically vulnerable to a sufficiently powerful quantum computer running Shor's algorithm. That computer does not yet exist — but the adversaries planning to use it are already collecting encrypted data today. This paper examines the timeline, the exposure surface, and the migration path for Web3 protocols that want to survive the transition.

Author
Deep Guard Research
Published
1 September 2026
Read time
14 min read
Key Takeaways
  • Every ECDSA private key in use today is theoretically breakable by a quantum computer running Shor's algorithm in polynomial time.
  • Approximately 4 million BTC - 22% of circulating supply - sit in addresses whose public keys are permanently exposed on-chain.
  • NIST finalised the first post-quantum cryptographic standards in August 2024: ML-KEM, ML-DSA, and SLH-DSA.
  • Post-quantum signatures are 37 to 122 times larger than ECDSA, creating material implications for block space and gas costs.
  • The NSA's CNSA 2.0 advisory mandates migration by 2030. Blockchain protocol upgrades routinely take three to five years.

What the Quantum Threat Actually Means for Your Keys

The security of every blockchain wallet your protocol relies on depends on the elliptic curve discrete logarithm problem. Given a public key Q = kG, no known classical algorithm can recover the private scalar k in feasible time. The best attacks require sub-exponential computation - effectively impossible for 256-bit curves on any classical hardware.

A quantum computer running Shor's algorithm (1994) solves this problem in O(n³) time. The hardware to execute that attack at cryptographic scale does not yet exist. Webber et al. (2022) estimated that breaking a 256-bit key within one hour requires approximately 317 million fault-tolerant physical qubits. Today's most advanced quantum computers have a few thousand noisy physical qubits. The direction of travel, however, is unmistakable - and the migration timeline your protocol needs is measured in years, not months.

Superconducting qubit milestones
Physical qubit count — Source: Google Research, IBM Research

Physical qubit counts are doubling approximately every 2 years. Cryptographically relevant fault-tolerant systems require millions of physical qubits per logical qubit.

Nation-state actors are not waiting for the hardware to arrive. The harvest-now, decrypt-later strategy - collecting signed transactions today to crack private keys once a cryptographically relevant quantum computer exists - is well-documented in intelligence assessments. For blockchain, this requires no active interception: every signed transaction your protocol has ever broadcast is permanently public and contains the public key needed for a quantum attack. The harvest is already happening passively.

Which Keys Are at Risk Right Now

Your quantum vulnerability depends on whether an address has ever revealed its public key on-chain. Not all have, and understanding the distinction tells you where to focus your exposure audit.

Pay-to-Public-Key (P2PK) addresses embed the public key directly in the locking script - all such funds are permanently exposed. Reused P2PKH addresses reveal their public key at first spend; any address that has ever sent a transaction is equally vulnerable. SegWit and fresh P2PKH addresses whose keys have never appeared on-chain are not currently at risk. Moving funds to a fresh, unspent address is the most effective immediate mitigation available to any holder today - and it costs nothing.

Bitcoin address vulnerability breakdown
% of BTC supply by quantum exposure risk — Source: Deloitte Quantum Risk Research, 2023
22%
Exposed (P2PK / reused)
58%
SegWit (unexposed key)
20%
P2PKH (never spent)

Deloitte's 2023 analysis estimated approximately 4 million BTC, roughly 22% of circulating supply, sit in addresses with exposed public keys. At peak Bitcoin prices above $100,000, this represents over $400 billion in directly quantum-vulnerable funds. Ethereum's account model means virtually every active externally owned account has a revealed public key, placing the majority of ETH holdings in the same exposure category - including your treasury, your multisig signers' addresses, and your deployer keys.

Fast Fact: Satoshi Nakamoto's original Bitcoin holdings are stored in Pay-to-Public-Key outputs - the earliest and most vulnerable address type. These coins have been on-chain with public keys exposed since the genesis block in 2009.

The Post-Quantum Standards You Need to Know

After an eight-year public competition involving 82 submitted algorithms from 25 countries, NIST finalised the first post-quantum cryptographic standards in August 2024. These are the standards your migration planning should be built around:

  • FIPS 203 - ML-KEM (CRYSTALS-Kyber): lattice-based key encapsulation for encryption and key exchange.
  • FIPS 204 - ML-DSA (CRYSTALS-Dilithium): lattice-based digital signature, the primary candidate for replacing ECDSA in blockchain signature schemes.
  • FIPS 205 - SLH-DSA (SPHINCS+): stateless hash-based signatures with more conservative security assumptions but dramatically larger output sizes.

The critical operational challenge your team needs to plan around is signature size. Post-quantum signatures are orders of magnitude larger than classical equivalents - and that has direct implications for your gas costs, block space usage, and on-chain storage.

Signature size comparison: classical vs post-quantum
Bytes per signature — Source: NIST FIPS 203 / 204 / 205

Post-quantum signatures are 37 to 122 times larger than ECDSA. At scale, this has material implications for block size, gas costs, and state storage.

ML-DSA-65 produces signatures of 3,293 bytes versus ECDSA's 64 bytes - a 51-fold increase. At Ethereum's roughly 15 TPS throughput, this creates a material increase in signature-related data per block. For Bitcoin, whose 4MB witness-inclusive block weight limit is already politically contentious, migration requires either a block size increase, a new signature layer, or batch verification schemes. None of those are trivial, and all require broad ecosystem coordination that your protocol does not control but should be tracking closely.

What Your Team Needs to Do, and When

The NSA's CNSA 2.0 advisory (September 2022) instructs US national security system operators to complete migration to post-quantum algorithms by 2030. Blockchain protocol upgrades routinely take three to five years from proposal to full ecosystem deployment. A protocol that has not begun planning by 2026 is already behind schedule. Here is the four-phase migration path you should be working toward:

Phase 1 - Exposure audit. Inventory every cryptographic primitive in use across your protocol: key types, signature schemes, address formats, and which addresses have exposed public keys on-chain. This is the foundational step - you cannot plan a migration you have not mapped.

Phase 2 - Architecture design. Evaluate ML-DSA, SLH-DSA, and hybrid schemes against your specific performance requirements. Engage your wallet developers, exchanges, and validator operators at this stage - migration requires coordinated upgrades across infrastructure you do not own, and they need lead time.

Phase 3 - Hybrid deployment. Accept both classical and post-quantum signatures simultaneously during a transition window. This allows gradual ecosystem migration without forcing a hard cutover.

Phase 4 - Classical deprecation. Sunset ECDSA on a published, community-agreed timeline after hybrid deployment has demonstrated stability.

The Bottom Line

The quantum threat to blockchain cryptography is an engineering problem with a known trajectory, known solutions, and a minimum lead time for orderly migration that is already being consumed. The protocols that begin post-quantum readiness assessments today are the ones that will retain user trust when the threat materialises. The ones that defer will face crisis migration under adversarial conditions - and the window for orderly preparation is closing. Deep Guard conducts post-quantum cryptographic readiness assessments as part of its full-spectrum audit services. Contact security@deepguard.xyz to discuss your protocol's exposure.

Frequently Asked Questions
Can a quantum computer break blockchain encryption today?
No. Breaking 256-bit elliptic curve keys within a practical timeframe requires an estimated 317 million fault-tolerant physical qubits. Today's most advanced systems have a few thousand noisy qubits. The threat is real but the hardware does not yet exist - the concern is building migration pathways before it does.
Is my hardware wallet safe from quantum attacks?
A hardware wallet that has never broadcast a transaction - and whose public key has never appeared on-chain - is currently safe. Risk arises the moment a transaction is signed and broadcast, because that reveals the public key. Future transactions from the same address will be vulnerable once a cryptographically relevant quantum computer exists.
Why can't blockchains just upgrade quickly?
Protocol upgrades require consensus across thousands of independent node operators, wallet developers, exchange integrations, and users. Bitcoin's block size debate lasted years without resolution. Post-quantum migration is technically more complex and requires changes to signature schemes, block structure, fee calculation, and validation logic across the entire ecosystem.
What is harvest-now, decrypt-later?
Adversaries collect signed transactions and encrypted data today, storing it with the intent to decrypt it once a sufficiently powerful quantum computer is available. For blockchain, every signed transaction is already public - no active interception is required. The harvest is happening passively as a side effect of public blockchain transparency.
Sources & References

01.Shor, P. (1994). Algorithms for quantum computation. [Link]

02.Webber et al. (2022). The impact of hardware specifications on reaching quantum advantage in the fault tolerant regime. [Link]

03.IBM Research. IBM Quantum Development Roadmap. [Link]

04.Google Research. Willow quantum chip (December 2024). [Link]

05.NIST. FIPS 203, 204, 205 - Post-Quantum Cryptography Standards. August 2024. [Link]

06.NSA. CNSA 2.0 - Commercial National Security Algorithm Suite Advisory. September 2022. [Link]

07.Deloitte. Quantum computers and the Bitcoin blockchain (2023). [Link]

TagsPost-QuantumECDSAShor's AlgorithmCRYSTALS-DilithiumKey Migration
© 2026 Deep Guard. All rights reserved. Reproduction, distribution, or republication requires prior written consent. Contact hello@deepguard.xyz.
Back to all research