ThinkFacility Sign in
  1. Home
  2. Guides
  3. Security

Bitcoin cryptography explained: the standards it runs on and what quantum and AI research put at risk

Bitcoin leans on two kinds of math, and only one of them is in trouble from the research published in 2026.

Bitcoin isn't encrypted. That was the first thing I had to unlearn. Every transaction since 2009 sits on a public ledger anyone can read, and the cryptography does two other jobs instead: it fingerprints data so nobody can quietly change it, and it proves you own coins without showing anyone your password.

Short version, as of December 5, 2026: nothing announced this year breaks Bitcoin today. A Google paper in March shrank the quantum computer needed to forge Bitcoin signatures. The AI findings that put the NSA in front of reporters on December 2 hit a different kind of math, the one meant to replace Bitcoin's.

The standards Bitcoin runs on

Every piece has a published standard behind it. The table lists them with the documents you'd look up.

PieceStandardWhat Bitcoin uses it forRisk in Dec 2026
SHA-256FIPS 180-4 (NIST)Mining, block and transaction IDs, addressesLow
RIPEMD-160ISO/IEC 10118-3Shortens a public key into an addressLow
secp256k1 curveSEC 2 (Certicom)The math under every signatureQuantum, later
ECDSA signaturesSEC 1Signing transactions since 2009Quantum, later
Schnorr signaturesBIP-340, with Taproot in BIP-341Signing Taproot transactions since 2021Quantum, later
HMAC-SHA512, PBKDF2RFC 2104, RFC 8018, used by BIP-32 and BIP-39Turning seed words into keysLow
Bech32 / Bech32mBIP-173, BIP-350The bc1... address formatNone (it's spelling, not secrecy)

"BIP" is a Bitcoin Improvement Proposal, the project's own numbered standards. FIPS and RFC are US government and internet standards.

From seed words to an address

If you've set up a wallet, you've written down 12 or 24 words. Those words are the whole wallet. Everything else is computed from them, one standard at a time.

Five boxes in a row joined by arrows: seed words, wallet seed, private key, public key and address. Under each arrow is the standard used: BIP-39 with PBKDF2 and HMAC-SHA512, BIP-32 with an HMAC-SHA512 tree, secp256k1 curve math from SEC 2, and SHA-256 then RIPEMD-160. The seed words and private key are marked keep secret; the address is marked safe to share.

BIP-39 stretches the words into a long random number. BIP-32 grows a whole tree of private keys out of that. Each private key gives a public key through curve math on secp256k1, and hashing the public key gives the address you hand out.

Every arrow only runs one way. Knowing an address doesn't reveal the public key, and the public key doesn't reveal the private key. That second arrow is the one a quantum computer could run backwards.

How the blocks stay honest

A hash function is a fingerprint machine. Feed it anything and it gives back 256 bits, and changing one comma changes the whole result. Bitcoin uses SHA-256, which the NSA designed and NIST published in 2001.

Three blocks side by side. Each block holds the fingerprint of the block before it, and an arrow runs from each block's own fingerprint, which starts with a row of zeros, into the next block. A caption explains that mining means changing one number until the double SHA-256 fingerprint starts with enough zeros.

Each block carries the previous block's fingerprint, so editing an old block breaks every link after it. Mining is a guessing game: change one number in the block, hash it twice, and repeat until the fingerprint starts with enough zeros. Miners make enormous numbers of guesses a second, and that work is what makes rewriting history too expensive.

Where else you've met the same math

None of this is Bitcoin's own invention. The same standards protect plenty of things you use daily.

Four rows. SHA-256 (FIPS 180-4) points to HTTPS certificates, software updates and Git. ECDSA and Schnorr on secp256k1 point to Ethereum and most other blockchains. The same family of curve math, P-256 and Ed25519, points to HTTPS logins, passkeys, SSH and Signal. PBKDF2 and HMAC point to password storage and Wi-Fi. A red bracket joins the two curve rows, labeled one quantum weakness covers both rows.

secp256k1 itself is mostly a blockchain thing. Ethereum adopted it, and so did most chains after it. The wider internet went with NIST's P-256 curve, which sits behind most padlocked websites and the passkeys replacing passwords, and with Ed25519 for SSH logins and the Signal app.

Different curves, same underlying problem (the elliptic-curve discrete logarithm). If a machine can solve it for one, it can solve it for all of them. Bitcoin, your bank's website and your passkey would be on the same clock.

In October, Anthropic's red team said Claude had traced where the random-looking seed numbers behind the NIST P-curves came from in the late 1990s: an ordinary Unix random-number call started from a timestamp. Anthropic called it "not a cryptographic break". It doesn't touch Bitcoin anyway, since secp256k1 was never built from a seed.

What a quantum computer would do

The two halves of Bitcoin fail very differently. That's the most useful thing to take from this whole piece.

Two panels. Left, hashes: a full bar for 2 to the 256 guesses today and a half-length bar for about 2 to the 128 with a quantum computer, captioned still far out of reach. Right, signatures: a public key with an arrow to the private key, then Google's March 2026 estimate of fewer than 1,200 logical qubits, under 500,000 physical qubits and minutes of running time, against about 100 logical qubits on the best machines in 2026.

For hashes, the best quantum trick (Grover's algorithm) roughly halves the difficulty in bits, from 2^256 guesses to about 2^128. That's still far out of reach, so mining and addresses carry on.

Signatures are another story. Shor's algorithm, run on a big enough machine, works out the private key straight from the public key. On March 30, 2026, Google Quantum AI and co-authors including Stanford's Dan Boneh estimated that takes fewer than 1,200 logical qubits, or under half a million physical ones, and the job runs "in minutes". They kept the attack itself private and published a zero-knowledge proof that their numbers hold.

Nobody has that machine. CoinShares, a crypto asset manager, puts the best systems of 2026 at about 100 logical qubits. Safeheron, a custody firm that went through the paper, counts the new figure as close to a twentieth of the previous best estimate.

Which coins would go first

A quantum attacker needs your public key. Most coins sit behind an address, which is a hash of the key, so the key has never been shown.

Four cards with key icons. Never spent from: the key is hidden behind a hash, tagged hidden. Being spent now: the key sits in the mempool for about 10 minutes, tagged brief window. Reused address: the key went public at the first spend, tagged exposed. Oldest coins and Taproot: 2009-10 coins and Taproot put the key on chain, tagged exposed. A footnote says BIP-360, a February 2026 draft, adds an output type that keeps the key off chain until it's spent.

Spending is the risky moment. Your transaction waits in the mempool for around ten minutes, key showing. Google's paper says the first fast quantum machines "would enable on-spend attacks on public mempool transactions", which means copying the key, working out the private key and racing a rival transaction in first.

The very oldest coins, from 2009 and 2010, paid straight to a public key. Reused addresses gave theirs away the first time they were spent from. Taproot outputs show a version of the key by design.

Bitcoin's developers merged BIP-360 as a draft on February 11, 2026. It adds an output type, Pay-to-Merkle-Root, that drops Taproot's exposed key. It hasn't been activated and doesn't add quantum-safe signatures on its own.

What the AI research actually hit

Timeline of 2026. February 11, BIP-360 draft merged. March 30, Google estimates under 500,000 qubits to break the curve. July 28, Claude improves attacks on HAWK and reduced AES. October 16, Claude traces the P-256 seed origins. November 30, a cryptographer panel calls a lattice attack galactic. December 2, the NSA and CISA say move faster.

The replacement math matters here. In August 2024 NIST published three post-quantum standards: FIPS 203 (ML-KEM, for setting up encrypted connections), FIPS 204 (ML-DSA, for signatures) and FIPS 205 (SLH-DSA, signatures built only from hash functions). The first two rest on lattices.

In July, Anthropic reported that Claude had found a better attack on HAWK, a lattice signature NIST is still evaluating, cutting the cost of recovering a key from about 2^64 operations to about 2^38. It also sped up an attack on a weakened, seven-round AES. Each cost roughly $100,000 in API fees, and Anthropic said neither "has a practical impact on today's computer systems".

On November 16 Anthropic shared bigger lattice results with outside cryptographers. A new panel of 21 of them, the Cryptography Incident Review Group, reported on November 30: a quantum attack on some structured lattice problems that improves things in theory but is "galactic" in practice. Against the smallest ML-KEM and ML-DSA settings it would cost far more than 2^1000 quantum operations. Their advice was to carry on moving to post-quantum cryptography.

On December 2 the White House cyber office, the NSA and CISA said frontier AI companies had disclosed findings that affect some cryptography in use, that they "do not present an immediate and widespread threat", and that organizations should speed up their post-quantum move anyway. The statement names no algorithms and doesn't mention Bitcoin. Eight companies, Google, Apple, OpenAI and Anthropic among them, backed it the same day.

What it means if you hold bitcoin

I read through every primary document I could reach this week, and none names secp256k1, Schnorr, SHA-256 or Bitcoin as broken or weakened by AI. Bitcoin's real deadline is still the quantum one. The AI work lands on the fix: ML-DSA is among the example replacements BIP-360 lists, and it's a lattice scheme. Hash-based SLH-DSA leans on SHA-256, the one part of Bitcoin nobody has dented.

For a holder, the cheap step hasn't changed: don't reuse addresses. A never-spent address keeps your key hidden until the ten minutes it takes to move the coins.

Quick answers

Can AI break Bitcoin's encryption?

Nothing published as of December 5, 2026 says so. The AI findings this year were about HAWK, a weakened version of AES and the lattice math behind the new post-quantum standards. None of the documents name secp256k1, ECDSA, Schnorr or SHA-256, the pieces Bitcoin uses.

Can a quantum computer break Bitcoin?

A large enough one could forge signatures by working out a private key from a public key. Google's March 2026 estimate puts that at under 500,000 physical qubits running for minutes. The best machines in 2026 are around 100 logical qubits, far short of the roughly 1,200 needed. Mining and SHA-256 are much safer.

What encryption does Bitcoin use?

Mostly none: the blockchain is public. Bitcoin uses the SHA-256 hash (FIPS 180-4) for mining and IDs, RIPEMD-160 for addresses, and digital signatures on the secp256k1 curve (ECDSA since 2009, Schnorr under BIP-340 since the 2021 Taproot upgrade).

Is Bitcoin quantum resistant?

Not yet. BIP-360, a first step, was merged as a draft on February 11, 2026 and hasn't been activated. It doesn't add quantum-safe signatures by itself.

How do I protect my bitcoin from a future quantum attack?

Don't reuse addresses. Coins in an address that has never been spent from only show their public key in the few minutes after you send them.

More on Security

All Security stories