Crypto Bunkers
On October 7, 2026, Justin Drake of the Ethereum Foundation asked the blockchain industry to start planning for “bunker mode.” The elliptic-curve signatures protecting Bitcoin and Ethereum, Drake wrote, might be broken by AI-assisted mathematics before a quantum computer gets the chance.
Nine days later, an AI model did produce a result about the standard elliptic curves. It answered a question cryptographers had been asking since the curves were published: where did the National Security Agency (NSA) get the seeds that define them? The answer was a C library call and the time of day.
Those two events are why this series exists. One is a forecast about the mathematics. The other is a finding about a program somebody ran in 1997. Only one of them came with code I can run, so I start there.
The seeds were timestamps
The NIST curves, including the P-256 curve behind most of the web’s
certificates, each come with a 160-bit seed. Hash the seed and you get a
number that fixes the curve’s coefficient b. The seed is supposed to show that nobody picked b
on purpose. Nobody ever said where the seeds came from, which rather defeated
the point.
Anthropic’s Frontier Red Team published the answer on October 16:
None of them were the results of any hash algorithm at all, but rather the output of the C library’s lrand48 random-number generator, seeded with a Unix timestamp!
The part I find meaningful is how it was found. The folklore said the seeds were hashes of a joke phrase, and people had searched for the phrase for years. According to the write-up, the model ignored the phrase and tried “anticipating how the software that generated the curves must have worked.” That is reverse engineering. No new mathematics was involved, and no curve got weaker.
The published code is short enough to run. This is the output of
nist_seeds.py from the companion scripts:
NIST prime-curve seeds from srand48(unix time)
curve clock (UTC) draw seed
P-192 1997-05-18 14:45:34 139 3045AE6FC8422F64ED579528D38120EAE12196D5 matches FIPS 186
P-521 1997-08-08 01:12:04 1136 D09E8800291CB85396CC6717393284AAA0DA64BA
P-256 1997-08-16 01:52:34 1842 C49D360886E704936A6678E1139D26B7819F7E90 matches FIPS 186
P-384 1997-08-30 14:50:08 2688 A335926AA319A27A1D00896A6773A4827ACDAC73
P-224 1998-04-03 12:52:07 7026 BD71344799D5C7FCDC45B59FA3B9AB8F6A948BC5
seed -> SHA-1 -> c, and c * b^2 = -27 (mod p):
P-192: True
P-256: True
The first half is Anthropic’s reproduction. The last two lines are my own
check that a seed really produces its curve: expand the seed with SHA-1 as the
standard describes, and the result c satisfies c·b² ≡ −27 (mod p) for the
published b. So the chain runs from a clock reading at 01:52:34 UTC on
August 16, 1997 to the curve in your browser’s TLS handshake.
If you read the previous series, this should look
familiar. A generator seeded from the clock is the failure that sank Netscape’s
SSL and the PlanetPoker shuffle. Here it is harmless, because a curve seed is
public. It only had to be unplanned, and it is hard to plan much with
srand48(time(NULL)).
Hard, but not impossible. Someone could have tried many clock values and kept the curve they liked. The script counts the room for that: the 324 days the five timestamps span hold about 2²⁴ seconds, and the deepest seed is draw 7,026, so the whole window offers fewer than 2³⁸ candidate curves. A planted weakness would have to affect at least one curve in 2³⁸. The known weak families in Part 4 are far rarer than that. The result does not rule out an unknown family that common; it puts a number on how common it would need to be.
What this has to do with Bitcoin
Directly, nothing. Bitcoin does not use a NIST curve. Its curve, secp256k1, has no seed at all:
y² = x³ + 7 over the prime p = 2²⁵⁶ − 2³² − 977
There is nothing to explain about a 7. That design has its own trade-off, which is the subject of Part 3.
Indirectly, the seed result is the best evidence so far of what AI models do to cryptography in practice, and it cuts in an unexpected direction. Anthropic states it plainly: “This is not a cryptographic break, new attack, or weakness in the ECDSA curves.” A 25-year-old suspicion about a backdoor became less plausible, by the margin counted above. The model’s contribution to elliptic-curve security that month was to remove a reason for doubt.
The warning
Drake’s post makes a different kind of claim. The core of it:
IMO it is now reasonable to brace for the possibility that ECDSA breaks before qday, in the worst case in months not years. By “break” I mean fast private key recovery (e.g. in one week) on available hardware (e.g. a large GPU cluster).
The useful part of that paragraph is the definition. “One week on a GPU cluster” is a number, and a number can be compared with what the best known attack costs today. Part 4 does that comparison with a solver you can run.
The reply from Yehuda Lindell, head of cryptography at Coinbase, was that there is “no evidence whatsoever pointing to a break of decades old hardness assumptions like elliptic curve cryptography.” Both statements can be true. Drake described a worst case and called for calm preparation; Lindell described the published evidence. I am not going to settle a disagreement about the future. I can show what the problem is, what it costs now, and which coins would be first in line if the cost collapsed.
Six posts, three questions
| Part | Question |
|---|---|
| 1 — A Curve Small Enough to Print | What does “multiply a point by a private key” mean? |
| 2 — Proving You Hold d Without Saying It | How does a signature prove ownership of d without revealing it, and why must its nonce never repeat? |
| 3 — One Hard Problem, Several Curves | Which curve does each chain use, and what would a break of one say about the others? |
| 4 — What It Costs to Get d from dG | What does the best known attack cost, and how far is that from one week? |
| 5 — The Moment a Public Key Goes Public | When does the chain reveal a public key, and who gets attacked first? |
Keep three questions apart throughout. What is the mathematical object? What does the hard problem on it cost? When does an attacker hold the public key the attack needs? The October argument mixed all three, and most of the heat came from the mixing.
The entropy series ended on the observation that a private key d and its
public key Q = dG are related by mathematics, so entropy alone cannot be the
whole story. This series picks up at that equation.
First, a curve with 31 points.