How Claude Solved the 25-Year NIST Curve Seed Mystery
In October 2026, a curious Anthropic employee asked an internal research model a question that had stumped cryptographers for a quarter century: where did the seeds for the NIST elliptic curves come from? The model answered in under half an hour, and the answer was anticlimactic in the best possible way. It is the kind of result that will quietly reshape how people rank the best AI tools 2026 for scientific discovery. Not because the model did something dramatic, but because it did something no human had managed since the curves were standardized in 2000.
The short answer: the seeds were not the hash of a joke passphrase, as the long-running rumor claimed. They were the output of lrand48, a plain C library random-number generator, seeded with a Unix timestamp. The finding does not break anything, does not reveal a weakness, and — counterintuitively — makes the curves more trustworthy, not less.
The 25-Year-Old Mystery
ECDSA is the most widely used elliptic curve cryptography standard. NIST adopted it in 2000 as part of the FIPS 186-2 Digital Signature Standard, which lists a set of standard curves — P-192, P-224, P-256, P-384, and P-521, plus binary curves — of varying sizes and security levels.
The way these curves are generated matters. For curves over prime and binary fields, the specification publishes a “seed” parameter whose hash value defines the coefficient b of the curve. The seed for NIST P-256, for example, is C49D3608 86E70493 6A6678E1 139D26B7 819F7E90. The provenance of these seeds was never explained. They were provided by the NSA with no justification, which left open a question that has fed two and a half decades of suspicion: were the curves chosen honestly, or were they chosen to hide a backdoor?
The best story in circulation came from Jerry Solinas, a longtime NSA employee. He recalled in 2015 that the seeds might have been generated from a hash of a humorous passphrase, something like “Give Bob and Jerry a raise”. A colleague, Bob Reiter, wrote the code, and neither of them remembered the details. Solinas died in 2023, and the question stayed open. A bounty organized by cryptographer Filippo Valsorda stood unclaimed.
How Claude Actually Found It
Anthropic’s writeup describes a mundane but clever process. Claude guessed that the software that generated the curves must have used a pseudorandom number generator (PRNG) that shipped with 1990s C libraries. Those old PRNGs are weak enough that their output can be recognized — and recognizing the output would reveal which generator was used and possibly allow recovery of its initialization state.
Claude wrote a scanner that slid along each published seed one bit at a time, testing whether adjacent chunks were consecutive outputs of a 1990s-vintage generator. The scan covered 34 combinations of generator and output slice. At that point Claude noticed a pattern in the top bits of some seeds: they were all zero. Written as five 32-bit words, four of the ten seeds have a zero in the top bit for all 20 words — something that would happen by chance with probability 1 in 5,810.
That zero bit is the signature of lrand48, a linear congruential generator that returns only the top 31 bits of a 48-bit state. The pattern is visible by eye once you know to look for it. To recover the state, Claude took the first word, tried all 2^17 values of the hidden bits, and checked that the next four words followed. That worked for all four binary-curve seeds.
The prime-curve seeds were harder, because they kept fewer bits of each output. Recovering the state of a truncated linear congruential generator is a textbook lattice problem, solved with the Lenstra–Lenstra–Lovász (LLL) basis-reduction algorithm. Claude did not know which bits of the state the seeds might expose, so it ran the solver over every window. Five NIST prime-curve seeds plus five more from the ANSI X9.62 standard all matched the same pattern: lrand48() >> 23. Each recovered 48-bit state regenerates all 160 bits of its seed — which does not happen by chance.
What the Seeds Turned Out to Be
The algorithm Claude reconstructed is simple. Seed lrand48 with a Unix timestamp, then draw 20-byte chunks as candidate seeds. Each candidate is hashed under the X9.62 procedure and tested to see whether it produces a valid curve; invalid candidates are discarded. P-256’s published seed was candidate 1,842 from a run initialized at 9:52 p.m. ET on August 15, 1997.
Anthropic published public-domain code that reproduces all 14 covered seeds byte for byte. The verification is straightforward and independent: for P-256, seed srand48 with the value 871696354, step the generator 20 × 1,842 times, and the final candidate matches the published seed exactly.
The base points tell a related story. The base points of the six curves generated in May 1997 — P-192 and five ANSI X9.62 example curves — come from the random-number generator in FreeLIP, Arjen Lenstra’s long-integer arithmetic package. The generator seeds are small integers: 20000 for P-192, and 20420, 20507, 20509, 20512, and 20517 for the others.
Claude’s internal reasoning, quoted in the Anthropic post, shows the model working through the same skepticism a careful researcher would. It noticed the result solved a 25-year-old mystery, then checked whether it was in a simulation. It verified the seeds against its memory of the actual values, and confirmed the top-bit pattern had a 1-in-a-million chance of being coincidence before calling it a real discovery.
Why This Rules Out a Backdoor — Mostly
This is the part that flips the usual AI-safety narrative on its head. For years, people have been suspicious of the NIST curve parameters precisely because their origin was unexplained. The Snowden-era disclosures linked the NSA to efforts to weaken cryptographic standards, and NIST later withdrew one of them, the Dual_EC_DRBG random-number generator, which had a known backdoor.
The new finding makes a deliberate backdoor in the curve seeds much less plausible. The seeds were generated in the simplest possible way: a common, clock-seeded PRNG that anyone can now reproduce. There is far less room to hide a subverted curve in a process that simple. As cryptographer Filippo Valsorda, who independently confirmed the result, put it: the seeds are “not the hash of some saucy sentence, but the output of drand48 seeded with the time.”
The practical implication is real. P-256 and P-384 are the curves used by the ECDSA X.509 certificates that secure much of the web, and P-384 is the curve the NSA’s own Commercial National Security Algorithm Suite requires for national security systems. Ruling out the most plausible backdoor vector makes those curves more trustworthy.
Open Source AI Models and Reproducible Research
There is a tension here worth naming, because it bears on how the open source AI models movement thinks about transparency. Claude itself is a closed model: you cannot download the weights or audit the model that did the reasoning. But the deliverable of this result — the reproduction code — is public domain, and that is what made the result land. Valsorda and others re-ran the code and confirmed the seeds independently, which is the difference between a company press release and an accepted finding.
The contrast is instructive. A closed model produced the discovery, but an open artifact — reproducible code and a complete description of the method — is what let the broader community verify it. The lesson generalizes well beyond cryptography: when an AI model produces a research result, the credibility of the result depends less on whether the model’s weights are open and more on whether the result ships with reproducible evidence.
That said, the finding also shows the limits of what even a strong closed model can do. Anthropic has not named the model, published the prompts, or independently verified the “under half an hour” timing claim. The B-163 binary seed still fits nothing Claude tried, and the base points for P-224, P-256, P-384, and P-521 remain unexplained. A solved mystery with documented loose ends is the normal state of real research, and it is worth treating the remaining gaps as open questions rather than gaps in the story.
What Is Still Unexplained
A few loose ends survive the solve, and they are worth keeping straight rather than glossing over.
The B-163 seed fits nothing Claude tried and remains unexplained. The base points for P-224, P-256, P-384, and P-521 — the fixed starting points each curve uses to compute public keys — are still unknown. And there is a selection question: the runs skipped some candidates that would also have produced valid curves, including an earlier valid P-256 candidate, number 876, and no one has a good explanation for why those were passed over.
Anthropic argues the number of skipped candidates is too small to suggest weak curves were picked on purpose, and independent observers largely agree. Hacker News user tptacek called the result “devastating news… for an entire generation of NIST cryptography conspiracy theories.” But the honest summary is that the seeds are now explained, while a handful of secondary parameters remain unaccounted for.
What This Says About AI as a Research Tool
Strip away the cryptography, and the ECDSA result is a case study in what frontier models are becoming good at. The task was not to generate text or write boilerplate. It was to reverse-engineer a hidden process from partial evidence: recognize the fingerprint of an old PRNG in 20-byte chunks, recover truncated state with lattice reduction, and reason backward to a Unix timestamp. That is the shape of real scientific inference, and it is not the kind of work that shows up on a standard benchmark.
The method is also legible in a way that matters. Claude did not output an answer and stop. It wrote a scanner, tested 34 combinations, noticed a statistical anomaly, and then recovered the state with a named algorithm. Each step is checkable. That is a meaningful step beyond “the model said so,” and it is why the result was accepted by cryptographers rather than dismissed as another AI hallucination.
None of this means the model is infallible — the B-163 seed proves otherwise. It means that, on a well-posed problem with verifiable ground truth, a frontier model can now do original research that humans had failed to do for 25 years. For anyone keeping score, that is a more significant milestone than most benchmark-table improvements.
The Bottom Line
Anthropic’s Claude solved a 25-year-old cryptography mystery in under half an hour. The NIST curve seeds were not hashes of a joke phrase, but the output of the C library’s lrand48 generator seeded with Unix timestamps from 1997 and 1998. The finding does not break ECDSA, and it reveals no weakness. It makes a deliberate backdoor much less plausible — a rare case where an AI discovery increases confidence in the web’s infrastructure rather than undermining it.
The result landed the way good research should: with public-domain reproduction code that cryptographers independently confirmed, and with a handful of loose ends — the B-163 seed, the missing base points — that Anthropic documents rather than hides. That combination of a surprising discovery, a verifiable method, and honest caveats is what makes this one of the more credible AI research results of the year.