Quantum-resistance lab

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.

≤ 1,200logical qubits to break 256-bit ECDLP (Google Quantum AI, 2026)
~100logical qubits on the best machines in 2026
2²⁵⁶possible private keys — safe from classical attacks
y² = x³ + 7
Is your wallet quantum-exposed? Free scanner for Bitcoin, Ethereum and BNB Chain: see if your public key is already on-chain and what to do about it.
Scan a wallet →
00 · Quantum Exposure Scanner

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… BNB Chain0x… (same address as ETH)
Try:

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.

High riskPublic key on-chain and funds still there.
Exposed · emptyKey is known, nothing to steal now — don’t reuse.
Protected at restOnly a hash is on-chain; exposed briefly when you spend.
Smart contractDepends on the keys that control it.
01 · Curve Lab

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.

Over the real numbers ℝ — smooth and geometric, great for intuition.
Click anywhere on the curve to place P
02 · Key Generation Lab

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.

Try:

⚠ Demo only. Never paste a private key that holds real funds into any website.

Private key—
Public key x—
Public key y—
Compressed (33 B)—
Uncompressed (65 B)—
Ethereum address (keccak-256)—
—bits
—doublings
—additions
—to compute
    03 · Quantum Threat & Resistance

    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.

    100
    logical qubits

    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

    1. Superpose. Load every pair (a, b) into quantum registers at once.
    2. 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.
    3. Quantum Fourier Transform converts that period into measurable peaks.
    4. Solve. One measurement (u, v) gives k = v · u⁻¹ mod n. The private key is out.
    Classical (Pollard’s rho)≈ 2¹²⁸ operationslonger than the age of the universe
    Quantum (Shor)≈ 70–90 M Toffoli gatesminutes on a fast CRQC

    Toy ECDLP: find k on 𝔽₉₇

    Q = …k = ?
    tries: 0

    Shor’s algorithm, simulated PRO

    same secret, n = 79

      Simulated 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?

      Public key already on-chain

      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”).

      Revealed when you spend

      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”).

      Post-quantum signatures

      Lattice- and hash-based schemes have no known quantum shortcut. Moving funds to them before a CRQC exists is the real defense.

      04 · Post-Quantum Academy PRO

      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.

      Good basis — the secret

      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.

      256 bit positions · revealed secret
      secret₀ secret₁ both leaked

      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.

      ECDSAsecp256k1 · 64 B
      +
      ML-DSA-44lattice · 2,420 B

      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.

      05 · Migration Lab PRO

      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.

      1. Legacy key
      2. PQ key
      3. Statement
      4. Dual-sign
      5. Verify

      1 · Choose a legacy secp256k1 key

      2 · Generate a post-quantum key

      3 · Migration statement

      4 · Sign with both keys

      5 · Verify

      06 · $QCURVE

      Hold $QCURVE to unlock the full lab

      $QCURVE is an access token. Holding it unlocks the advanced simulations, lessons and tools across QCurve.

      Explorer Free
      • 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
      Official $QCURVE contract · BNB Chain Not launched yet
      You are on the free Explorer tier.

      Contract: —