TechFlow Logo
Login/ Sign up
ETH Gas
Gwei
Fear
gas
What does it mean that Claude cracked the NSA's elliptic curve seed puzzle in half an hour?

What does it mean that Claude cracked the NSA's elliptic curve seed puzzle in half an hour?

2026.10.19
Share
This is not a cryptographic disaster, but a supplementary entry to the trust ledger.

Author: Daii

To state the conclusion first: Claude did not break elliptic curve cryptography, did not derive anyone's private key, and did not suddenly invalidate TLS or Bitcoin. What it broke open is a piece of cryptographic history—exactly how several public "seeds" handed over by the NSA decades ago to the standards body were generated.

This distinction matters. Calling it "AI breaks global encryption in half an hour" is wrong; treating it as irrelevant digital archaeology also underestimates its significance.

This discovery illustrates four things simultaneously: First, the likelihood that the most widely used suite of NIST elliptic curves was intentionally implanted with a backdoor is significantly reduced. Second, "verifiable randomness" in standards cannot verify more than half a chain of trust if it cannot explain where the initial inputs came from. Third, frontier models can now stitch together literature comprehension, hypothesis generation, coding, statistical testing, and lattice algorithms into a single autonomous research workflow. Fourth, AI's more realistic impact on cryptography is not suddenly cracking 256-bit private keys today, but auditting protocols, implementations, and historical artifacts that no one has been willing to review for years, at near-zero cost.

Clarifying the Puzzle First: Why Public Seeds Spark Backdoor Concerns

An elliptic curve can be roughly understood as a public "lock design." Every user has their own private key, but everyone using the same curve shares a set of public parameters. For curves over prime fields, the common equation is written as:

`y² = x³ + ax + b (mod p)`

The actual standard also specifies parameters such as the finite field `p`, coefficients `a` and `b`, base point `G`, base point order `n`, and cofactor `h`. The private key is not these parameters; it is a secret number generated separately by the user within this public framework.

FIPS 186-2, published in 2000, included curves such as P-192, P-224, P-256, P-384, and P-521. The NSA provided the curves along with 160-bit seeds, and the standard specified deriving the curve coefficients from the seed using steps like SHA-1. Anyone with the seed can recalculate "this seed indeed produces this coefficient."

The question lies here: Why is the seed itself exactly those 160 bits?

This is like a lottery commission publishing the winning numbers and the drawing algorithm without showing which initial set of balls went into the machine, or why that specific set was chosen. If designers tested massive amounts of seeds beforehand and ultimately selected a curve with a certain secret weakness, later analysts verifying only "the seed produces the curve" cannot rule out such culling.

In cryptography, parameters derived from π, mathematical constants, or public text through deterministic steps are called "nothing-up-my-sleeve numbers": the point is not that these numbers are more sacred, but that the selection process lacks hidden knobs. NIST curve seeds are public, yet their origin is unexplained, making them formally "verifiably random" yet unauditably sourced.

This distrust did not arise out of thin air. After 2013, the Dual_EC_DRBG random number generator, promoted with NSA involvement, was widely believed to contain a backdoor risk exploitable by those who knew special parameter relationships, leading NIST to subsequently retire it. Dual_EC_DRBG is not the same thing as the NIST P curves discussed here, but it shifted tolerance toward "just believe the parameter choosers." Neal Koblitz and Alfred Menezes systematically reviewed the controversy in their 2015 paper A Riddle Wrapped in an Enigma; in 2023, cryptographic engineers including Filippo Valsorda offered a bounty to find the origin of the seeds.

The most widely circulated clue comes from NSA mathematician Jerry Solinas: the seed might be a hash of a joking phrase like "Raise Bob and Jerry's salary." Anthropic employees followed this lead but were unsuccessful. Solinas passed away in 2023, and the original programs and archives remain undiscovered; the puzzle appears destined to live forever only in oral history.

What Claude Actually Did: From Anomalous Zeros to a 1997 Clock

In October 2026, an Anthropic employee submitted the problem to an internal research model of undisclosed specific version, without providing the "joking phrase" clue. According to the research note released by Anthropic on October 16, the model found the generation method in under half an hour.

The key was not brute-forcing every possible English sentence, but reframing the question: What software would 1997 engineers most likely have used to generate these seemingly random bytes?

Claude examined 34 vintage pseudorandom number generators and combinations of output slices, sliding along the seed bit by bit to look for traces of continuous output. It discovered that for some seeds, the most significant bits of certain 32-bit words were always 0. This is not a security proof, but it resembles gear teeth left by the machine: POSIX/C library's `lrand48()` only outputs the top 31 bits of its 48-bit internal state each time, which naturally leaves this exact pattern.

For seeds retaining more output bits, enumerating the 17 hidden lower bits suffices to recover the internal state. The harder cases are the five NIST prime curves and five ANSI X9.62 curves: the generating program only retained fragments of `lrand48() >> 23`. Claude reformulated the problem as "state recovery for truncated linear congruential generators" and then applied the LLL lattice reduction algorithm to find short vectors satisfying multiple approximate linear relations.

In plain terms, it's like seeing only the few digits exposed on an old odometer after each turn. One reading provides insufficient data; several consecutive readings combined with gear ratio rules are enough to reverse-engineer the masked digits. Here, LLL does not crack elliptic curves but efficiently stitches together numerous truncated arithmetic constraints.

After recovering the 48-bit state, `lrand48`, a linear congruential generator, can compute both forward and backward. Claude reversed it to the state where `srand48(t)` initialization fixed the lower 16 bits at `0x330E`, then interpreted the upper bits as Unix timestamps. The result was not a vague era, but a set of precise UTC times falling between 1997 and 1998:

| Curve | UTC Time of `srand48` | Order of the 20-byte Candidate Hit |

|---|---:|---:|

| P-192 | 1997-05-18 14:45:34 | 139 |

| P-521 | 1997-08-08 01:12:04 | 1,136 |

| P-256 | 1997-08-16 01:52:34 | 1,842 |

| P-384 | 1997-08-30 14:50:08 | 2,688 |

| P-224 | 1998-04-03 12:52:07 | 7,026 |

Taking P-256 as an example, initializing the generator with timestamp `871696354` and running it according to the recovered byte-extraction method up to the 1,842nd candidate yields the complete 160-bit seed from the standard: `C49D3608 86E70493 6A6678E1 139D26B7 819F7E90`. Not "similar," but bitwise identical.

Such matches are hard to attribute to coincidence. More importantly, bounty initiator Valsorda independently rewrote and reproduced the generation process in Go, confirming that these timestamps and candidate indices can regenerate the published seeds. That is, while the discovery originated from Anthropic's internal model, the conclusion does not require the public to simply trust the model's self-reporting.

Why This Is Not "Weak Random Numbers Causing Key Leakage"

The easiest confusion in news coverage involves three entirely different "random numbers."

The first is the seed for curve parameters. It is public design material used to decide which "lock" everyone adopts. This is what was reconstructed here. `lrand48` seeded by a clock in 1997 is weak, but its output was public from the start; predicting it gives attackers no user private keys.

The second is the random number for user private keys. If wallets truly used `lrand48` plus timestamps to generate private keys, they would indeed be vulnerable to reversal and funds could be stolen. However, this finding does not indicate that users of NIST curves generate private keys this way.

The third is the nonce (temporary number) used by ECDSA for every signature. Repeating or predictable nonces leak private keys, a serious real-world vulnerability; modern implementations commonly use deterministic or randomized-aided signature schemes to mitigate risk. It is equally unrelated to the curve seeds found this time.

Thus, "seeds came from a weak PRNG" and "curve crypto was broken by a weak PRNG" sound only a few words apart, but carry opposite security implications. Here, the reversibility of the weak generator helped researchers reconstruct the historical process; it neither weakens the curve's discrete logarithm problem nor lowers the search difficulty for existing private keys.

What It Means for the Backdoor Debate: Significantly Reducing Suspicion, Not Mathematical Acquittal

The most important cryptographic significance of this discovery is that it narrows the choice space designers had back then.

A theorized "curve-selection backdoor" does not require placing an overtly visible door in the equation. Designers could master identification methods for a class of extremely rare weak curves, then secretly test massive amounts of seeds until selecting one whose exploitation only they know. Daniel J. Bernstein and Tanja Lange once described a conceptual approach: if a selector possesses roughly 70 bits of freedom, they could target an assumed class of weak curves scaling around `2⁶¹`.

The reproducible timeline now compresses that space dramatically. Valsorda's conservative estimate suggests: even allowing designers to pick any second between 1997–1998 and select any one of the first 16 qualified candidates leaves only about 30 bits of choice freedom. 30 bits is not zero, but falls far short of executing the aforementioned 70-bit targeted culling. This does not logically prove that the NSA absolutely couldn't possess any mathematics unknown today dating to 1997, but it eliminates the previous most concrete and discussable category of selection mechanism, making claims about "embedding a NOBUS backdoor through massive seed searching" considerably harder to sustain.

Three footnotes still remain necessary here.

First, the program skipped some superficially qualified candidates. For P-256, a prime-order curve meeting known conditions appeared at candidate 876, yet candidate 1,842 was ultimately chosen; the P-224 run also skipped three candidates. The team identified one additional filtering rule, while another remains unclear. Skipping a handful of candidates does not equal a backdoor—relying on so few choices to hit an extremely rare weakness would paradoxically require weak curves to be common—but the full history is not yet restored.

Second, the seed determines the curve coefficient `b`, not the base point `G`. While Claude traced the origin of the base points for P-192 and several ANSI example curves, it still does not explain how the base points for P-224, P-256, P-384, and P-521 were chosen.

Third, the B-163 seed in binary field curves remains unrecovered, while several other binary field curves may have used an initialization method of "time divided by two." Thus, the most accurate statement is not "all mysteries of NSA curves are solved," but rather: the seed origins of the five core NIST prime curves have been reproducibly explained, the primary cloud of suspicion regarding seed backdoors has significantly dissipated, and several parameter selection details remain open questions.

Does TLS and Bitcoin Actually Have Any Relation?

There is a relation, but not the one claimed by background materials stating "these seeds form the foundation of Bitcoin TLS digital signatures." That sentence stitches together three distinct concepts.

TLS is the protocol browsers, servers, and others use to establish secure connections. NIST P-256 (also known as secp256r1) has long been used in TLS for key agreement or ECDSA certificate signing, so this discovery indeed concerns a curve widely deployed across the internet. The message it conveys is increased confidence, not an urgent need to replace certificates; Anthropic explicitly stated there are no actions required from users.

Bitcoin uses a different curve, secp256k1. It shares a similar name and belongs to the same elliptic curve family as NIST P-256/secp256r1, but it is not the same curve, nor was it generated by the NSA seeds reconstructed this time. The SEC 2 standard writes secp256k1's equation in the minimal form `y² = x³ + 7`; BIP 32 also explicitly specifies Bitcoin's adoption of secp256k1. Traditional Bitcoin transactions use ECDSA on this curve, while Taproot uses Schnorr signatures on the same curve.

Therefore: this discovery does not affect Bitcoin private keys, does not explain why Satoshi Nakamoto chose secp256k1, and does not alter the long-term issue of quantum computers potentially threatening elliptic curve cryptography via Shor's algorithm in the future. Conflating shared terminology ("elliptic curve") into "Bitcoin is also cracked" is like discovering the blueprint for one brand of door lock and announcing that all doors using metal keys have been breached.

What Deserves Real Vigilance Is the Research Closed Loop AI Can Now Complete

Looking solely at the answer, "it turned out to be a timestamp" seems almost too simplistic. What carries real weight is the path taken to arrive at that answer.

Claude did not merely retrieve a ready-made fact from its training memory. According to Anthropic's account, it proposed hypotheses contrary to popular oral history, wrote scanners, compared the output structures of dozens of legacy PRNGs, identified `lrand48` from statistical anomalies, invoked LLL for truncated outputs, recovered states, reverse-derived initialization forms, and then verified results using complete 160-bit matching. Subsequently, human researchers organized, reviewed, and published runnable code, which external cryptographers independently rewrote and verified.

This constitutes a "small-scale research closed loop":

`Read problem → Form hypothesis → Design verification → Write tools → Handle failure → Solve mathematically → Cross-validate → Deliver reproducible experiment`

Past models could often explain what LLL is and write a linear congruential generator; what makes this iteration stronger is judging when to connect the two when no standard solution route exists. It shows frontier models are moving from "answering questions with known answers" toward "generating new evidence within tool environments." This capability will yield genuine productivity in software archaeology, malicious sample analysis, protocol fuzzing, formal proof assistance, and standard auditing.

Yet "half an hour" requires correct interpretation. The cryptographic community did not spend twenty-five straight years, eight hours daily, brute-forcing this exact problem. Humans already wrote the standards, proposed backdoor models, archived the seeds, invented LLL, implemented computing software, and packaged the problem as a public bounty. The model stands atop the entire knowledge and toolchain, rapidly identifying a combination no one seriously tested before. It compresses the marginal time of a single research search, not magically replacing 25 years of scientific accumulation.

Meanwhile, public materials do not provide the internal model's exact version, complete raw sessions, failed branches, compute consumption, or details of human intervention within the thirty minutes. Therefore, what can be confirmed is the generation method and the results—which have been reproduced by code; the capability narrative of "fully autonomous, under half an hour" originates primarily from Anthropic itself and falls short of serving as a strict benchmark for reproducible models. Separating verifiable outcomes from vendor-specific ability attribution is the most basic discipline for evaluating AI research.

Long-Term Impact on the Cryptographic World: Black Boxes Will Open Faster, Transparent Designs Will Grow More Valuable

This incident does not signal that AI will tomorrow brute-force P-256 private keys. Under classical computation, the security of mature elliptic curves derives from the astronomically large discrete logarithm problem; knowing how to code and use LLL does not equate to bridging exponential complexity.

A more immediate shift occurs elsewhere: security systems contain vast numbers of black boxes that are "mathematically intact but of unknown origin, with outdated implementations and complex compositions." They go uninspected for years not because they are unsolvable, but because scattered documentation, cumbersome test spaces, and unclear ROI make them hard to consistently occupy top researchers. AI capable of reading legacy papers, generating probe code, and running tools for extended periods will drastically reduce the cost of auditing such systems.

This is a double-edged sword. Defenders can batch-reverify standard parameters, hunt for weak random-number fingerprints, and inspect legacy code in supply chains; attackers can likewise faster discover compositional vulnerabilities in niche protocols, firmwares, and enterprise-custom cryptography. The systems most likely to be "torn open" first are rarely AES, TLS 1.3, or mainstream curves with thorough public auditing, but rather those relying on secret implementations, ambiguous parameters, and "untouched for decades."

The proper response is not panicking into abandoning NIST curves, but making standard designs easier for machines to audit:

  1. Parameter generation must start from public, non-manipulable entropy sources or predetermined data, providing complete scripts, versions, and filtering rules;
  2. Safety proofs, reference implementations, and test vectors should allow end-to-end reproduction by anyone, not just validation of the final step;
  3. Complete execution logs must be preserved for AI discoveries, distinguishing model-independent completion, human prompting, and post-hoc compilation;
  4. Deploy models for defensive heritage auditing while constraining their networking and execution capabilities through isolated environments, access controls, and responsible disclosure;
  5. Continue advancing post-quantum transition, but do not conflate quantum threats with this seed-tracing initiative.

Final Assessment

This is not a cryptographic catastrophe, but an addendum to the trust ledger.

For the past 25 years, people knew NIST curves could withstand public analysis, but remained unaware of why those initial strings of digits existed. Today, a runnable chain stretching from a 1997 Unix clock, `srand48`, candidate indices, to standard seeds shifts "please trust that NSA didn't tamper" to "you can reproduce how it likely emerged yourself." Cryptography's most precious advances often lie not in increasing trust, but in reducing what must be trusted.

For AI, this is also a signal meriting greater attention than merely correctly answering an Olympiad problem: models are beginning to leave new evidence on real, open-ended, unanswered problems that external experts can independently verify. Today it fills in the provenance for a chapter of cryptographic history; tomorrow, the same capability will be deployed to uncover vulnerabilities and to prove systems lack the very flaws people fear.

Thus, what this truly signifies is not "AI has broken cryptography," but rather: in the cryptographic world, black boxes sustained solely by history, authority, or lack of scrutiny are quickly expiring.