# Can Quantum Computers Break Bitcoin and Ethereum Keys?

> Bitcoin and Ethereum keys rely on ECDSA over secp256k1. How a quantum computer breaks it, how fast the estimates are falling, and what to do now.

- **URL:** https://octav.fi/blog/quantum-computers-ecdsa-secp256k1
- **Published:** 2026-12-03
- **Author:** Octav Team — Portfolio Intelligence for Digital Assets
- **Topic:** NAV Reporting
- **Tags:** security, compliance
- **Source:** Octav, Practical guides on crypto NAV reporting, multi-chain portfolio management and digital asset APIs, from the team behind Octav.

---
<LogoRow items="bitcoin,ethereum,solana" caption="Chains whose signatures a large quantum computer could forge" />

**Every Bitcoin and Ethereum wallet is protected by one maths problem, and a
large enough quantum computer solves it.** That machine doesn't exist yet. But
the size it would need keeps shrinking: this year alone, published estimates
for breaking secp256k1, the curve both chains use, fell from about 1,200
logical qubits to 835. An open challenge, ecdsa.fail, has already beaten
Google's best private circuit for the core step by 70%.

This week the pressure moved from papers to policy. Anthropic published new
research on post-quantum maths, the NSA told national-security operators to
speed up, and Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI
and Oracle signed a joint statement urging everyone to migrate "as soon as
possible".

Here's the plain-English version: how your wallet key works, why a quantum
computer breaks it, how close that is, and which coins are exposed first.

## How does a crypto wallet key work?

A wallet uses **public-key cryptography**: a pair of keys that are
mathematically linked. The public one can be shared with the world; the
private one never leaves your device.

![Public-key cryptography as a mailbox: the public key is the mail slot anyone can use, the locked message sits inside the box, and only the private key opens it](./images/figure-pq-public-key.png)

Bitcoin and Ethereum use **ECDSA on the secp256k1 curve**. Your private key is
a random 256-bit number, *k*. Your public key is a point on the curve you
reach by starting at a fixed point *G* and "hopping" along the curve *k*
times. Your address is a fingerprint (hash) of that public key.

![How a Bitcoin or Ethereum key works: private key k, start point G, public key k × G reached in about 256 doublings, address = hash of the public key. Going backwards from k × G to k is the elliptic-curve discrete logarithm](./images/figure-pq-secp256k1.png)

Hopping forward takes microseconds. Going backwards, from the public key to
the number of hops, is called the **elliptic-curve discrete logarithm**, and no
ordinary computer can solve it for a 256-bit curve. That one-way street is
the whole security of your wallet: anyone who can walk it backwards can sign
transactions as you.

RSA, the older public-key system behind much of the web, uses a different
one-way street: multiplying two huge primes is instant, finding them again is
not.

![Multiplying 61 by 53 gives 3,233 instantly; recovering 61 and 53 from 3,233 takes trial and error. An RSA-2048 key is a 617-digit number whose two prime factors are the private key](./images/figure-pq-rsa-primes.png)

## Why can a quantum computer break ECDSA?

Because it doesn't try answers one by one. In 1994 Peter Shor showed that a
quantum computer can find the hidden *rhythm* inside these problems (the
period of a repeating pattern), and once it knows the rhythm, the secret falls
out. It's the difference between trying every key on a keyring and hearing
which one fits.

**Shor's algorithm breaks elliptic curves and RSA alike.** Elliptic curves
actually fall first: a 256-bit curve key needs a smaller quantum computer than
a 2,048-bit RSA key. Hashing and symmetric encryption are a different story;
the best quantum attack (Grover's algorithm) only halves their strength.

| Algorithm | Where crypto uses it | Against a quantum computer |
| --- | --- | --- |
| ECDSA / secp256k1 | Bitcoin and Ethereum signatures | **Broken** by Shor's algorithm |
| Schnorr / secp256k1 | Bitcoin Taproot signatures | **Broken** by Shor's algorithm |
| Ed25519 | Solana signatures | **Broken** by Shor's algorithm |
| RSA-2048 | Web certificates, older systems | **Broken** by Shor's algorithm |
| SHA-256, Keccak-256 | Addresses, Bitcoin mining | Weakened, still safe |
| ML-DSA, SLH-DSA | New post-quantum signatures (NIST, 2024) | Designed to resist it |

## How close is a quantum computer to breaking secp256k1?

Not close in hardware, but closer every year on paper. Shor needs an
*error-corrected* machine: thousands of reliable "logical" qubits, each built
from many noisy physical ones. The number of logical qubits needed keeps
falling.

![Logical qubits to break a 256-bit curve: 2,330 in 2017 (Roetteler et al.), 1,175 in March 2026 (Google), 1,098 (Chevignard et al.), 835 in July 2026 (Luo et al.). A September 2026 trapped-ion design needs 19,397 physical qubits and about 26 days per key. ecdsa.fail's open challenge is 70% cheaper than Google's private point-addition circuit](./images/figure-pq-ecc-estimates.png)

| When | Who | Result for a 256-bit curve |
| --- | --- | --- |
| 2017 | Roetteler, Naehrig, Svore, Lauter | 2,330 logical qubits |
| Mar 2026 | Google Quantum AI ([Babbush et al.](https://arxiv.org/abs/2603.28846)) | Under 1,200 logical qubits; under half a million physical qubits; runs in minutes |
| 2026 | Chevignard et al. (EUROCRYPT) | 1,098 logical qubits |
| Jul 2026 | [Luo et al.](https://arxiv.org/abs/2607.13816) | **835 logical qubits** |
| Sep 2026 | [Häner et al.](https://arxiv.org/abs/2609.05625) | 19,397 physical trapped-ion qubits, about 26 days per key |

**ecdsa.fail** turns this into a race anyone can join. It's an open challenge,
run by Eigen Labs, to build the cheapest quantum circuit for one secp256k1
point addition, the step Shor's algorithm repeats thousands of times. Every
factor saved there comes straight off the cost of breaking the curve. As of
December 3, 2026, the best entry uses 721,696 Toffoli gates on 1,227 qubits,
**70.4% cheaper** on that measure than Google's private circuit (2.1 million
Toffolis on 1,425 qubits), and nearly 28 times cheaper than Litinski's 2023
construction ([ecdsa.fail](https://ecdsa.fail)).

**Octav contributed to this work.** When Eigen Labs published the
ecdsa.fail paper in September 2026, it listed Octav among the coauthors,
alongside the Ethereum Foundation, StarkWare, Trail of Bits, Brevis and Sei,
in a paper led by Jieyi Long, CTO of Theta Network
([Eigen Labs on X](https://x.com/eigenlabs/status/2098037459217199544)).

The two hardware paths matter for different reasons. Google's design runs in
**minutes** on fast superconducting qubits. The trapped-ion design needs far
fewer qubits but takes **weeks**. A slow machine can only attack keys that
have been public for a long time; a fast one could, in principle, attack a
transaction while it waits in the mempool. Google's paper makes the same
distinction between fast-clock and slow-clock architectures.

## Which coins are exposed first?

The ones whose public key is already visible. An address is only a hash of
the public key, and hashes resist quantum computers. The public key appears
on-chain when you **send** from an address, and some address types publish it
from the start.

| Case | Public key visible? | Exposure |
| --- | --- | --- |
| Ethereum account that has sent a transaction | Yes, recoverable from any signature | Exposed |
| Ethereum account that has only received | No | Hash only |
| Bitcoin address reused after spending | Yes | Exposed |
| Bitcoin P2PK outputs (early coins, including Satoshi-era blocks) | Yes, in the output itself | Exposed |
| Bitcoin Taproot (P2TR) outputs | Yes, the output key is on-chain | Exposed |
| Bitcoin address used once, never spent from | No | Hash only |

Blockchains have a twist of their own on **"harvest now, decrypt later"**: an
attacker doesn't need to record anything. Every signature and public key is
already stored, forever, in a public ledger. For any exposed key, the harvest
is done.

![Harvest now, decrypt later: encrypted traffic recorded today sits in an archive for years, then opens when a quantum computer arrives. The fix must be in place before the data is sent](./images/figure-pq-harvest-now.png)

The same applies off-chain. A fund's positions, counterparties and wallet
lists travel over the internet every day, and traffic recorded today with
classical key exchange can be opened later. For data, the deadline isn't the
day a quantum computer arrives; it's that day minus how long the data must
stay secret.

## What happened this week with Anthropic, OpenAI and the NSA?

<LogoRow items="anthropic,openai,google,microsoft,apple,amazon,cloudflare,oracle" caption="Signatories of the December 2, 2026 joint statement on post-quantum cryptography" />

| Date (2026) | What happened |
| --- | --- |
| Late Nov | A rumour spreads on X that an AI lab "cracked RSA-2048". **False**: no 2048-bit key has been factored. |
| Nov 30 | Anthropic publishes four papers on lattice cryptography, the maths behind the new post-quantum standards. |
| Dec 2 | NSA, CISA and the White House's ONCD urge a faster migration; the NSA tells national-security system operators to accelerate "immediately". |
| Dec 2 | Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle sign a [joint statement](https://openai.com/index/joint-statement-post-quantum-cryptography/) backing the NIST standards. |

**What Anthropic found.** With help from unreleased Claude models, Anthropic
found a theoretical quantum algorithm that attacks *structured lattices*, the
maths under the new ML-KEM and ML-DSA standards, faster than previously known
methods, but only at key sizes far larger than anyone uses. It says nothing
new about ECDSA; that was already broken in theory by Shor. Anthropic's own
words: the results "do not have practical, real-world consequences for
today's security systems", and it still believes ML-KEM and ML-DSA "are two
of the strongest public key algorithms available". The outside Cryptography
Incident Review Group called the attack's scale "galactic" and recommends
"continuing the transition to post-quantum cryptography"
([MIT Technology Review](https://www.technologyreview.com/2026/12/01/1150237/anthropics-bombshell-cryptography-breakthrough-is-kind-of-fine-actually/),
[CNBC](https://www.cnbc.com/2026/12/01/anthropic-ai-math-security-shortcut.html)).

**What it means.** The old cryptography, ECDSA included, has a known expiry
date: whenever a big enough quantum computer is built. The new cryptography is
the replacement, and the first AI-assisted attacks on it are nowhere near
practical. The joint statement's core sentence: organisations should move to
the NIST post-quantum standards "and accelerate the migration as soon as
possible." NIST plans to deprecate elliptic-curve and RSA algorithms after
2030 and disallow them after 2035; Google set
[2029](https://blog.google/innovation-and-ai/technology/safety-security/cryptography-migration-timeline/)
for its own migration.

## How do you replace ECDSA?

With signatures built on maths Shor's algorithm can't touch. NIST published
the first standards in August 2024:

| Standard | Name | Replaces | Based on |
| --- | --- | --- | --- |
| FIPS 203 | ML-KEM | Key exchange (ECDH, RSA) | Structured lattices |
| FIPS 204 | ML-DSA | Signatures (ECDSA, RSA) | Structured lattices |
| FIPS 205 | SLH-DSA | Signatures, conservative backup | Hash functions only |

For websites, the switch is already happening through **hybrid key exchange**:
the classical and post-quantum algorithms run together, so an attacker has to
break both.

![Hybrid key exchange: classical X25519 and post-quantum ML-KEM-768 each produce a secret, both are combined into one session key, so an attacker has to break both](./images/figure-pq-hybrid-tls.png)

Blockchains are harder. A website can switch algorithms overnight; a chain
needs every wallet to move its funds to a new kind of address, and post-quantum
signatures are much larger: about 2,400 bytes for the smallest ML-DSA
signature against roughly 70 for ECDSA, which costs block space.
Both Bitcoin and Ethereum have active work on post-quantum signatures
([ethereum.org](https://ethereum.org/roadmap/security/quantum-resistance/)),
but nothing is deployed on mainnet yet.

## What should crypto funds do now?

| Area | Exposure | What to do |
| --- | --- | --- |
| Cold storage | Exposed once a public key is on-chain | Don't reuse addresses; keep long-term holdings at addresses that have never sent |
| Hot and operational wallets | Public keys exposed by every transaction | Track the Bitcoin and Ethereum migration proposals; plan the move to new address types early |
| Data in transit (APIs, dashboards, email) | Harvest now, decrypt later | Use providers that already negotiate hybrid post-quantum key exchange |
| Vendor stack | Only as strong as the weakest link | Ask each vendor when they moved, not whether they plan to |

For the broader checklist on what to ask a data provider, see
[Security Questions to Ask a Portfolio Vendor](/soc2-security-portfolio-data).

## Is Octav ready for post-quantum cryptography?

Yes, on both fronts that apply to us, and we've helped measure the threat
itself as a coauthor of the ecdsa.fail work.

**No keys to steal.** Octav is read-only. We track wallets from their public
addresses and never hold, ask for or touch a private key. There is no Octav
signing key for a quantum computer to break that could move your funds.

**Post-quantum connections.** The data we serve, your positions, NAV reports
and transaction history, is protected in transit with hybrid post-quantum key
exchange.

| What | Octav today |
| --- | --- |
| Private keys | Never held; Octav is read-only |
| Key exchange | **X25519MLKEM768**, hybrid post-quantum, on octav.fi, pro.octav.fi and api.octav.fi with modern browsers and clients |
| Data encryption at rest | Up to date, with symmetric encryption that quantum computers don't break |
| Certificates | Current and automatically rotated every 90 days, so new algorithms roll out on the next cycle |
| Independent audit | [SOC 2 Type 2](/soc2-type-2-certified) |

Someone recording traffic to Octav today would need to break both X25519 and
ML-KEM to read it.

A note on certificates, because it's often confused: certificates prove *who*
you're talking to; they don't keep the conversation secret. A forged
certificate signature has to be used *live*, during the connection, so it
can't be harvested now and used later. That is why the whole industry moved
key exchange first. When browsers and certificate authorities support
post-quantum certificates, our 90-day rotation means we pick them up on the
next cycle.
