What Broken Keys and Hash Functions Mean for Bitcoin
The scare that needs a cleaner name is "the cryptography broke." As if that were one event, with one blast radius, and maybe an AI model as the author. It is not one event. A practical break of secp256k1's discrete log, a collision in SHA-256, a full preimage, a second preimage, and a shortcut against Bitcoin's "hash below this target" mining problem are different animals. Some of them would be catastrophic for keys. Some of them would be catastrophic for commitments. None of them, as of November 2026, has a sourced AI-authored demonstration I can point you at.
Warning: This article is an analysis based on data available in November 2026. We are living crazy unprecedented times and the situation can change much faster than estimated. This isn't a pitch and definitely not financial advice.
I've already written the neighbor pieces: quantum, which is Shor on the signatures with a machine we do not yet have, and P=NP, which is the sinkhole that would not leave you a replacement algorithm. This article is the classical version of the first, and the hash-function version of both, without a quantum computer and without a proof that P equals NP. The uncomfortable question is: what, exactly, would have to break, and what would still work?
It can be dismissed as "the primitives have been studied for decades." There is a lot of merit to that. There is no merit to treating "broken" as a single adjective, or to announcing that AI has already finished the job.
What a discrete-log break actually says
Bitcoin's signatures, ECDSA and Schnorr, are schemes in which a public key is a point on an elliptic curve and a private key is the secret multiplier that gets you there. Verifying a signature is easy if you have the public key. Recovering the multiplier from the point is the discrete logarithm problem on that curve. Security is the claim that this direction is hard.
secp256k1 is the particular curve Bitcoin chose: a 256-bit Koblitz curve, over a prime field, with a well-known specification. The generic security level is about 128 bits, not 256; that is the usual Pollard-rho bound, and it is the number that matters in the classical setting. "Koblitz" here is a construction detail, not a spell. Schnorr, via BIP 340, is a cleaner signature scheme than ECDSA on the same math. It does not get you a new hardness assumption. If the discrete log on secp256k1 becomes easy, both ECDSA and Schnorr fall together. I will keep writing "a break of ECDSA" in the title because that is the name people search; I mean the curve.
A practical break is not "a slightly faster rho." It is an algorithm, or a special property of this curve, that takes a public key and returns a private key at a cost a well-funded attacker can spend. Until that exists, we are talking about a risk class, not a date.
One caveat, because I have been burned by this confusion on air: leaking a nonce, or reusing a nonce, or using a bad random number generator, can also reveal a private key, and it has, on various wallets over the years. That is an implementation failure, not a break of secp256k1. It is serious for the person who was unlucky, and it is not this article. This article is about the math being wrong for everyone at once.
A little history, and the structure people worry about
Satoshi chose secp256k1 at the start. It is not a NIST P-curve (the P-256 story, and the more paranoid reading of how those parameters were generated, is a different argument and not this one). secp256k1 is a Koblitz curve specified in Certicom's SEC documents, and one reason it has been popular with Bitcoin implementers is that it is fast: there is an efficiently computable endomorphism, and the GLV method uses that structure to speed up scalar multiplication. "Extra structure" is also the phrase cryptographers use when they are slightly less comfortable, because extra structure is sometimes how shortcuts begin.
I want to be precise to the point of boredom. Extra structure is a reason to keep watching the literature. It is not a break. After a decade and a half of Bitcoin putting real money on this curve, a published, practical discrete-log shortcut still has not arrived. That fact matters more than a vibe. It does not mean the watch can stop.
Schnorr signatures, BIP 340, and Taproot did not change the hardness assumption. They changed the scheme: cleaner proofs, easier batch verification, and the key-path / script-path design I already complained about in the quantum article. Cross-input signature aggregation, which our wiki also covers, would (if it ever landed) be another scheme-level improvement on the same curve. Scheme-level improvements are good. They are not a new hill for an attacker to climb if the discrete log itself has fallen.
If Bitcoin ever left secp256k1, the job would look like the quantum migration: a new output type, a period when both are valid, a social fight about whether old keys must move, and a long tail of lost coins. Doing that work "because quantum" and refusing to notice that it also covers a classical surprise is, again, a category error. Doing it twice, for two slogans, would be the other mistake.
Why this is the quantum article without the machine
In What Quantum Computing Means for Bitcoin I walked through the blast radius of Shor: P2PK and Taproot outputs are exposed as soon as they exist, reused P2PKH and P2WPKH are exposed after the first spend, a never-reused hash is hidden until you move, and coins attributed to Satoshi are, to the extent they sit in early P2PK outputs, in the first bucket. A classical discrete-log break has the same blast radius, because it answers the same question (given this point, what is the multiplier?).
The difference is the hardware. Shor needs a cryptographically relevant quantum computer. A classical break needs a paper, or a gadget, and then a laptop or a cluster, depending on how practical it really is. There is no cryostat, no error-correction roadmap, no NIST policy date to hide behind. There is also no public evidence, as of November 2026, that such a break exists. I will not invent a percentage chance. The prior is "this curve has been in the open for a quarter of a century, and the generic attack has not moved in a way that threatens 256 bits." Priors are not proofs.
Mining, in this scenario, is fine. SHA-256 still does what it does. Blocks still cost joules. That is the oddity of this threat, and it is why I separated it from a SHA-256 break. One leaves you with a working clock and dead keys. The other leaves you with working keys and a clock you can no longer trust. P=NP takes both.
What this break cannot do
FUD likes to finish the job in one sentence, so here are the things a discrete-log break does not automatically give you.
It does not let you mint bitcoin. Inflation still requires a consensus bug or a fork that changes the cap. The curve is not the supply.
It does not let you find cheap blocks. Proof of work still sits on SHA-256d, so the clock and the cost of a 51% attack do not collapse with the keys. This is the opposite of a SHA-256 preimage break, and it is the opposite of a practical P=NP gadget.
It does not let you spend an output whose public key has never been revealed, until someone reveals it. Hashed outputs still have to be opened, by the owner or by a preimage on HASH160, which is a different paper (the SHA-256 piece covers that).
It does not, by itself, freeze coins at an exchange. A custodian can halt withdrawals, and in the first hours that might even be the least stupid posture, which is a sentence I also used in the P=NP article and still dislike. Self-custody of an already-public key is the exposed position; self-custody of a hashed key is a race.
If a headline says "Bitcoin's cryptography is broken" and does not specify which primitive, it is not helping you. Ask which lock.
What a hash break actually says
A hash function is supposed to be a one-way blender. You can take a message and get a short digest cheaply. You should not be able to go backwards, and you should not be able to find two messages that blend to the same digest. When a headline says a hash is "broken," you have to ask which property, at how many rounds, and at what cost.
A collision is two different inputs, one digest. For an n-bit hash, a birthday attack expects a collision after about 2^(n/2) work: 2^128 for SHA-256, 2^80 for RIPEMD-160. A collision is how you spoof a commitment ("this digest refers to that document") and, in some constructions, how you play games with Merkle trees. It does not, by itself, let you mine cheaper, and it does not, by itself, let you spend someone else's existing output.
A preimage is going backwards: given a digest, find any input that produces it. Generic work is 2^n. A second preimage is: given this input, find a different input with the same digest, also generically 2^n, and it is the one that would let you swap the contents of something already committed.
Bitcoin mining is not a generic full-preimage test. Miners search for a block header whose SHA-256 (actually double SHA-256) digest is below a target: a partial-preimage-style problem, not "invert this arbitrary digest." A public collision attack does not directly give you that. Even a full-preimage result would still have to be cheap enough, structured enough, and adaptable enough to beat honest ASICs at Bitcoin's current targets. A secret, practical advantage against that partial-preimage search would be a more direct route to hashrate capture than a paper that only shows a collision.
SHA-1 is the cautionary tale: a designed collision was demonstrated in 2017 (the SHAttered result, by researchers at CWI and Google). SHA-256 is not SHA-1. I am not going to smear one with the other. "No public break today" is a fact about 2026, not a theorem about 2040.
Why SHA-256 is in so many places
Bitcoin does not use SHA-256 once.
Proof of work is SHA-256 twice, SHA-256d, on the 80-byte block header. That lineage goes back to Hashcash, Adam Back's 1990s proof-of-work scheme, which Satoshi cited. A practical preimage attack, or any shortcut that finds headers whose digest is below the target cheaper than brute force, is a serious mining problem. If the shortcut is public and everyone can use it, difficulty can adjust and mining may continue, at a new cost; if it is secret, or only some people can use it, the cost of a 51% attack falls for them. This is the neighbor of the P=NP case, except it is narrower: the signatures might still be intact.
Transaction IDs and Merkle trees are SHA-256d as well. A collision attack that you can steer could, in some designs, let you build two transactions or two branches that commit to the same root. Whether that is exploitable in Bitcoin, at a given weakness, is a question for a specific paper, not for a vibe. I will not invent a working recipe. I will say the Merkle tree is not a decorative plant. It is how a block commits to its transactions, and it assumes the hash is doing its job.
Taproot tweaks and various commitments use tagged SHA-256. (Compact block relay, to be precise, uses SipHash, not tagged SHA-256.) A failure of the hash is a failure of "this object is that object."
What SHA-256 does not do, by itself, is hold your private key. If SHA-256 broke and secp256k1 did not, an attacker would still need your key, or a way to trick a hash-based commitment, to spend your coins. That is a cold comfort if they can also mint cheap blocks.
The difference between a SHA-256 break, Grover, and P=NP
Grover gives a quadratic speedup against a hash, in the model where you have a large quantum computer. Against SHA-256 that is 2^128, not "mining is free." A classical cryptanalytic break is a shortcut in the math of this specific function, on the hardware you already own. Those are not the same event.
P=NP, with a practical gadget, would break hashes and signatures together. A SHA-256-only break would leave ECDSA and Schnorr standing, which is an odd, almost hopeful kind of disaster: the keys still work, and the proof-of-work schedule still holds in the usual sense, until the shortcut (public or secret) changes the cost of producing work. The repair is a hash-function migration, which is a consensus change and a lot of engineering, and it is still a smaller mountain than "every lock on the internet opened."
The popular narrative I want to refuse here is "quantum computers already mean SHA-256 is finished." They do not. If you want to worry about hashes, worry about a classical cryptanalytic paper, or about the 160-bit one.
RIPEMD-160: the smaller lock in your address
A standard Bitcoin address of the P2PKH or P2SH kind is not a SHA-256 digest. It is HASH160: RIPEMD-160 of a SHA-256 of the public key or the script. In P2WPKH, the witness program is itself that 20-byte HASH160 of the public key. That 160-bit number is why a birthday bound of 2^80 shows up in this article.
RIPEMD-160 (Dobbertin, Bosselaers, Preneel, mid-1990s) is a European design, 160 bits, and it is not "broken" in the SHAttered sense as I write this. It is also not 256 bits. I am not going to announce that 2^80 is "already practical," and I am not going to treat a birthday collision as a theft of existing coins.
Stealing coins that already sit at a HASH160 address generally means finding a usable second preimage for that particular hash, together with a key or script that can produce a valid spend, not merely finding any two colliding inputs somewhere in the universe. Fresh 256-bit commitments (P2WSH, a future output type) are the boring mitigation, and they already exist for scripts. If Bitcoin still puts 160-bit hashes on a large share of the UTXO set in twenty years, that will have been a choice.
What AI changes, which is less than the headlines
AI might help a researcher look for structure, write attack code, or search a larger space of deviations than a human would have the patience for. That is a real use of the tool in other fields, and it is still not a demonstration. I have no sourced, practical AI break of secp256k1, SHA-256 or RIPEMD-160 to cite. Until someone publishes one, the AI sentence in this article is a label on speculation, not a second primitive.
If that demonstration later arrives, the right response is to ask the same question this article opened with: which property, at what cost, against which outputs? Not "AI broke Bitcoin."
What it means for a long-term holding
If you hold coins behind an already-public key, this event is equivalent to the quantum event, except it could arrive as a PDF rather than as a machine in a lab. If you hold coins behind a never-revealed hash, you have a window after the paper, and only until you need to spend. If a post-quantum or otherwise new output type already exists on Bitcoin when the paper lands, you have a place to go. As of November 2026, BIP 360 is still Draft, and it was written with quantum computers in mind, not with a classical secp256k1 surprise. It would still be, awkwardly, the thing you would want.
The "never move" instinct is, again, only relatively safer for hashed outputs, and even then only against a key-recovery attack that needs the public key, not against a usable second preimage on the hash itself. A Taproot vault you are proud of not touching is a public key you are proud of leaving out. I do not think that means you should rip up a well-built Taproot multisig today, in November 2026, on the back of a hypothetical paper. It means you should know which bucket you are in, and you should care whether a destination output exists before you need it, not after.
How to prepare
The preparation rhymes with the quantum article, because the exposure model is the same. I will not pretend this is a completely separate product category with its own hardware to buy.
Know your script types. Stop reusing addresses. Do not panic-move hashed coins onto a key-path output in the name of modernity. Watch for a reproducible, full-size attack on secp256k1, not for a conference talk about a related curve in a weaker model. Push, if you are the pushing type, for a destination output type that does not rest on this discrete log, which Bitcoin needs for Shor anyway. If we ever do that work only after a classical paper, we will have been ridiculous.
What to watch: a paper that recovers secp256k1 private keys at a relevant size, with code or a very short path to code; and any sudden unexplained movement of long-dormant P2PK coins. The second one has other explanations (found keys, stolen backups, a very old laptop), and it would still be the first place I would look.
Would any altcoin survive this better than Bitcoin?
Most of the usual suspects sit on the same curves and the same hashes, or on close cousins. A chain with a scheduled hard fork can, in principle, swap a scheme faster, which is agility, not immunity. I would not swap tickers to hide from a classical break I cannot see yet. I would watch the output types I actually use, and the proposals in the quantum piece, because the migration work is related even if the machine is different.
What none of them fix
There is no altcoin that is safe against a true, cheap discrete-log break of the curve it actually uses, and there is no altcoin that is safe against a cheap inversion of the hash it actually uses to commit. The useful work is still the boring kind: know which property you are talking about, keep proposed replacements under review, and refuse to treat a press release about an AI model as a cryptanalytic paper.
You can read BIP 340, SHAttered and the P=NP article in one sitting. That is a better evening than a thread that uses "broken" four times and never says which way.
This article is part of the Existential Threats to Bitcoin series.
Related
What ETF Custody Means for Bitcoin
The coins behind the biggest bitcoin ETFs are real, and the filings say where they sit. They also say the sponsor, not the…
What Bitcoin's Security Budget Means After the Subsidy
Over the last year, fees paid miners about 0.02 bitcoin per block against a 3.125 subsidy. The chain does not stop when the…
What Quantum Computing Means for Bitcoin
A large enough quantum computer could derive private keys from public keys that are already on the timechain. It would not, by…

Comments
Questions or corrections? Email me, or say it on Nostr or X. I read all three.
Email meNostrX