Learn Quantum Resistance with QCurve
The curve behind today’s crypto signatures — y² = x³ + 7 — falls to Shor’s algorithm once quantum computers reach roughly 1,200 logical qubits. Watch the math, run the attack, and practice the defense.


Check your wallet’s quantum exposure
A quantum computer running Shor’s algorithm needs your public key. This scanner reads public blockchain data to tell you whether yours is already visible, and what to do. Read-only: no wallet connection, no signatures, no private keys.
Bitcoin1… · 3… · bc1q… · bc1p…
Ethereum0x…
On-chain check only. If you have signed messages off-chain with a wallet (logins, permits), your public key may also be known to whoever received the signature.
Batch scan PRO
Up to 20 addresses at once, one per line — BTC and 0x mixed.
Watchlist PRO
Saved in this browser. Re-check any time to see whether a key became exposed or a balance moved.
Adding points on a curve
Every elliptic-curve key is built from one operation: point addition. Click the curve to place points and watch the geometry — then switch to a finite field to see what cryptography actually uses.
From private key to public key
A public key is just k · G: the generator point G added to itself k times, computed with ~256 doublings and additions. Easy forward, infeasible backward — for classical computers.
⚠ Demo only. Never paste a private key that holds real funds into any website.
——————How a quantum computer breaks it
Shor’s algorithm turns the hard “backwards” problem into a period-finding problem that a quantum computer solves efficiently. The only question is how many qubits it takes.
Thresholds: ≤1,200 logical qubits & ≤90M Toffoli gates, or ≤1,450 & ≤70M — Babbush, Gidney et al., Google Quantum AI, PRX Quantum 7 (2026).
Shor’s algorithm in four moves
- Superpose. Load every pair (a, b) into quantum registers at once.
- Compute a·G + b·Q for all pairs in a single pass. Because Q = k·G, the outputs repeat with a hidden period that depends on k.
- Quantum Fourier Transform converts that period into measurable peaks.
- Solve. One measurement (u, v) gives k = v · u⁻¹ mod n. The private key is out.
Toy ECDLP: find k on 𝔽₉₇
Q = …k = ?Shor’s algorithm, simulated PRO
same secret, n = 79Simulated classically on a 79-element group to show the real structure of the attack. A real CRQC does the same on 2²⁵⁶ elements.
Which keys are exposed?
Any Ethereum account that has sent a transaction, reused Bitcoin addresses, early pay-to-public-key coins and Taproot outputs. A CRQC can attack these at leisure (“at rest”).
Hashed addresses hide the public key until you spend. An attacker would have to break the key during the few minutes before your transaction confirms (“on spend”).
Lattice- and hash-based schemes have no known quantum shortcut. Moving funds to them before a CRQC exists is the real defense.
How to resist a quantum computer
NIST has standardized replacements: ML-KEM and ML-DSA (lattices), SLH-DSA (hashes), with FN-DSA (Falcon) in draft. Each lesson is hands-on and runs entirely in your browser.
Lattices: hard to round
A lattice is a regular grid of points generated by basis vectors. The same lattice can be described by a good basis (short, nearly perpendicular) or a bad one (long, skewed). With the good basis, finding the lattice point closest to a target is easy; with only the bad basis, it is believed hard — even for quantum computers.
ML-DSA (FIPS 204) and ML-KEM (FIPS 203) build on Module-LWE, a structured version of this problem.
Toy Learning-With-Errors encryption (q = 97)
Hash-based: security from SHA-256 alone
A Lamport signature needs nothing but a hash function. Generate 2 × 256 random secrets and publish their hashes. To sign, hash the message and reveal one secret per bit. Quantum computers only give a square-root speed-up against hashes (Grover), so 256-bit hashes stay safe.
The catch: each key can sign once. SLH-DSA (FIPS 205, formerly SPHINCS+) combines many one-time keys in Merkle trees so a single public key can sign many messages.
Signing a second message leaks both secrets at many positions — an attacker can mix and match them to forge. That is why Lamport keys are one-time.
Hybrid signatures: belt and braces
A hybrid signature attaches both a classical signature (ECDSA) and a post-quantum one (e.g. ML-DSA) to the same message. Verifiers require both to pass, so it stays secure as long as either scheme holds.
That protects against quantum computers and against a surprise flaw in the newer PQ schemes during the transition years.
What blockchains are doing
- Bitcoin — BIP-360 (P2MR). Merged as a draft in February 2026: a Taproot-like output with the quantum-vulnerable key-path removed, as a first step before adding PQ signature opcodes. Not activated.
- Ethereum — account abstraction. Smart-contract wallets can verify any signature scheme, so accounts can rotate to PQ keys without a hard fork of the signature format.
- The migration window. Coins must move to PQ-protected outputs before a CRQC exists; keys already exposed on-chain cannot be protected after the fact.
The price of quantum resistance: bytes
Post-quantum signatures are much larger than ECDSA. On a blockchain every byte costs fees and block space, which is why scheme choice matters.
Sizes in bytes (log scale). ML-DSA: FIPS 204 · SLH-DSA: FIPS 205 · FN-DSA: FIPS 206 (draft). FN-DSA signatures vary; average shown.
Practice moving a key to post-quantum
Bind a new quantum-resistant key to your secp256k1 identity by signing one statement with both. Everything runs locally with test keys — nothing is broadcast.
- Legacy key
- PQ key
- Statement
- Dual-sign
- Verify
1 · Choose a legacy secp256k1 key
2 · Generate a post-quantum key
3 · Migration statement
4 · Sign with both keys
5 · Verify
Hold $QCURVE to unlock the full lab
$QCURVE is an access token. Holding it unlocks the advanced simulations, lessons and tools across QCurve.
- Quantum Exposure Scanner — BTC, ETH, BNB (one address at a time)
- Curve Lab: P + Q, 2P, finite-field view
- Real secp256k1 key generation
- Qubit threat simulator & toy brute force
- Shor overview & exposure guide
- Step-by-step math
- Post-quantum lessons
- Everything in Explorer
- Batch scan up to 20 wallets + watchlist re-check + copyable report
- Step mode + full math in Curve Lab
- Animated scalar multiplication k · G
- Full quantum attack & Shor simulator
- Lattice, hash-based & hybrid lessons
- Migration Lab with dual-signed certificate
Contract: —