Quantum attacks on Bitcoin, and how to protect against them
Estimates quantum attack costs on Bitcoin PoW and ECDSA signatures, proposes Momentum-style PoW resistant to Grover speedup, and reviews PQ signature size tradeoffs.
Schemes: ECDSA, secp256k1, Shor, Grover, Momentum, Cuckoo Cycle, Equihash, LMS, XMSS, SPHINCS, NSW, CFS, QUARTZ, RAINBOW, GPV, LYU, BLISS, DILITHIUM, NTRU
Findings (quotes checked against the source text)
-
Grover search gives Bitcoin hashcash PoW only a quadratic speedup, which ASIC speed and slow quantum gate speeds essentially negate at current difficulty.
However, the extreme speed of current specialized ASIC hardware for performing the hashcash PoW, coupled with much slower projected gate speeds for current quantum architectures, essentially negates this quadratic speedup, at the current difficulty level, giving quantum computers no advantage.
-
ECDLP break on a 10GHz, 1e-5 error-rate quantum computer is estimated at about 30 minutes using 485550 qubits, under the paper's model.
for 10GHz clock speed and error rate of 10−5 , the signature is cracked in 30 minutes using 485550 qubits.
-
Momentum-style memory-hard PoW, based on hash collisions, is argued to give quantum attackers no quadratic advantage once the collision set is more than constant size.
unlike for the current proof of work in Bitcoin, with this proposal a quantum computer would not be able to achieve a quadratic advantage as soon as q S is more than constant size.
-
Among surveyed PQ signatures, only hash-based and lattice-based schemes are reasonable for blockchain on combined public key plus signature size; the paper favors lattice schemes at equal quantum security.
Looking at Table II, with respect the sum of signature and public key lengths, the only reasonable options are hash and lattice based schemes.
-
BLISS is rejected for practice due to side-channel vulnerability; strongSwan's implementation had its signing key recovered after about 6000 signatures.
Pessl et al. [PBY17], who showed that the signing key could be recovered after observing about 6000 signature generations.
-
Reusing a Bitcoin address after its public key is revealed is insecure against a quantum attacker, and unprocessed transactions are the most serious attack window.
We view item (3) as the most serious attack.
Numbers (as extracted, not quote-checked)
- ECDLP quantum logical qubits for n=256 (Toffoli-based estimate): 2334 logical qubits; 1.28e11 Toffoli gates
- Time to break ECDSA signature at 66.6 MHz, pg=5e-4: 6.49 days using 1.7e6 physical qubits
- Hash rate of single quantum computer at 50GHz, D=1e13 (optimistic): fraction 0.1% for 20 machines vs total hashing power
- Dilithium PK+Sig length (kb): 33.4 kb (PK 11.8, Sig 21.6)
- XMSS PK+Sig length (kb): 20.5 kb (PK 0.544, Sig 20)
- SPHINCS PK+Sig length (kb): 336 kb (PK 8, Sig 328)
For builders
Plan for ECDSA key exposure during the unconfirmed-transaction window, avoid address reuse, and weigh lattice versus hash-based signatures by combined public key plus signature size.
Limits
Estimates rest on optimistic 2017 hardware extrapolations and are described by the authors as rough; the signature sizes come from a 2017 table, and the PoW analysis is in the random oracle model.
Topics: threat-model quantum-resource-estimates sig-lattice sig-hash-based sig-other bitcoin-migration chain-design consensus cryptanalysis benchmarks survey hash-functions