Enjoying this issue?
Get tomorrow's AI & engineering digest in your inbox — hand-picked, summarized, and always spam-free.
TLDR
After 25 years, the NSA's P-256 seed constants turned out to come from a clock timestamp in August 1997, generated by the old C rand48 function, not a deliberate backdoor. Anthropic's Claude worked out the origin, and cryptographer Filippo Valsorda independently confirmed it in Go. The finding changes nothing operationally, but it closes a long-standing worry about NIST's elliptic curve standard.
Key points
Anthropic's Claude traced the P-256 seeds to an August 1997 timestamp.
The seed bit pattern matches the C rand48 random number function.
Filippo Valsorda recreated the method in Go and confirmed the result.
Valsorda estimated only about 30 bits of freedom in seed choice.
Anthropic says the finding is not a break and requires no change.
Tools mentioned
Techniques
- lattice reduction
- reversing the rand48 generator to recover its seed
- bit pattern analysis of published seeds
Stop scrolling. Start reading smarter.
Receive the day's most important AI & engineering updates in one concise email. No spam.
Transcript (captions)
In under half an hour, Claude traced the NSA's P-256 seeds, unexplained since 1997, Anthropic says. The trail ended at a clock reading from that same year. Jerry Solinas at the NSA handed them to
a standards committee in fall 1997. In later emails, he said they were hashes of a funny message he couldn't remember. A joke its author forgot is hard to audit. Backdoor fears had a reason. In
2014, NIST pulled Dual EC, another NSA-designed random generator, after a reported secret it made it the default in RSA's software. In 2023, cryptographer Filippo Valsorda offered a
bounty for the seed's origin. It went unclaimed for years. The clue sat in most of the sister seeds NIST published for its binary curves. Cut each into 32-bit chunks, and every chunk starts
with a zero. Anthropic says chance alone would almost never do that. That's the fingerprint of Elrand 48, an old C random number function. It keeps a longer hidden number, multiplies and
adds to it each call, and hands out only the top 31 bits. One bit short of a full chunk, so the top bit's always zero. For the binary seeds, Claude guessed every value of the hidden bits and kept
whichever predicted the next chunks. P-256 shows only eight bits per call, so Claude switched to lattice reduction, a standard way to rebuild hidden values from fragments. Then it ran each one
backwards. ESS rand48, the call that seeds the generator, writes the clock reading on top and a fixed pattern below. Rewind until that pattern appears, and the top bits are the
timestamp. For P-256, that's August 1997. Valsorda rewrote the method in Go, and it checked out. His sum: Someone free to pick any 1997 or 1998 timestamp, then any of the first usable seeds its
run spat out had barely 30 bits of freedom. In general, rigging a curve means knowing a secret weakness and trying seeds until a weak one still passes the public checks. Those few
choices leave little room to shop for a weak curve. Anthropic says this isn't a break and there's nothing to change. If you ship P256, I'd take the boring answer as the good one. Still open why
earlier usable seeds got skipped and how P256 is base point, the fixed point keys are built from, was chosen.