← Back to Crypto

Is AI Breaking Cryptography?

Is cryptography safe in the age of AI?

On October 6, OpenAI dumped several hundred AI-written math papers. None of the papers addressed cryptography, and this led people to speculate that maybe OpenAI had new results in cryptography that they were withholding (possibly because they were dangerous). The next day, Ethereum Foundation researcher Justin Drake asked the blockchain industry to “calmly begin planning for ‘bunker mode’,” because AI might be able to break the ECDSA signatures that protect Ethereum accounts. He warned that in the worst case ECDSA could fall “in months, not years” (CryptoSlate).

Although people got frothed up about Justin Drake’s post, many cryptographers are not as worried. Two days later, Dan Boneh and Justin Thaler went on the a16z crypto podcast to clear the air. Boneh opened: “everybody calm down, don’t panic.” On the same episode, a16z’s Eddy Lazzarin did admit that the absence of crypto results was “a little bit conspicuous.”

On the same podcast, Thaler made a key point about AI’s ability to find fast algorithms for solving the discrete-log problem (and thus breaking ECDSA). Cryptographers don’t think there’s a fast discrete-log algorithm out there that humans are too dumb to find, and “if there is not one, it doesn’t matter how smart the AI is, it cannot find the non-existent algorithm.”

What AI has actually broken

AI has actually been breaking cryptography this year, but it’s been breaking novel candidate systems, and not widely used algorithms like ECDSA.

In July, Anthropic reported that its model had found an attack that weakened the lattice-based signature scheme HAWK. The HAWK signature scheme was, at the time, one of the third round candidates in NIST’s standardization process, and HAWK’s designers withdrew HAWK the next day. The attack does not carry over to Falcon, a lattice-based signature NIST is actually standardizing.

In September, China published 119 first-round candidates for its own NIST-style competition, the Next-generation Commercial Cryptographic Algorithms program (NGCC). Markku-Juhani Saarinen then pointed Codex and Claude Code at all of them and started posting findings to ngcc.dev. By the end of the first week, ngcc.dev listed 191 findings against 89 of the candidates, 78 of them rated critical, and Saarinen’s agents had found 110 of them. JP Aumasson, one of the BLAKE3 designers, thought the CHAMP hash function “looked weird and overstructured,” so he asked OpenAI’s GPT-6 Astra to attack it and had a working distinguisher the same evening the candidates came out. His blog post on the whole episode is titled “Cryptographic mass murder.”

Although the breaks listed at ngcc.dev look pretty terrible, a lot of the early AI findings were bugs in the submitted code (one candidate’s verifier accepts every signature), and most of the design-level breaks, like Jintai Ding’s lab’s total break of Origami, came from human teams that didn’t report any AI help. AI-found design attacks did start showing up later in the week, when Martin Feussner posted key-recovery and forgery attacks on five signature candidates, each one (like Sigurd) “independently found by an AI system, OpenAI Codex using Daybreak Blue at maximum reasoning effort.”

Around the same time, Ward Beullens and Basil Hess reported a key-recovery attack on some alternative parameter sets of SNOVA, a NIST signature candidate, noting that “the first version of this attack was found independently by an AI system (gpt-5.6-sol).” The attack doesn’t affect SNOVA’s recommended parameter sets. On the ZK Podcast, JP Aumasson describes asking GPT to go dig up “some obscure ciphers” on ePrint and break one. It found a “total break” in a 200-page block cipher paper, which he then checked by hand.

Every one of these breaks was in a new or candidate scheme, not one that’s widely deployed.

What AI hasn’t broken

Commonly used symmetric crypto schemes like AES, SHA-2, SHA-3, ChaCha and BLAKE3 all appear to be fine. Anthropic’s best symmetric result was an attack on 7-round AES (AES-128 has 10 rounds), which Matt Green calls “a modest constant-factor improvement” on work from 2013. Aumasson is confident enough to have written a whole post called “LLMs won’t break symmetric crypto.”

Nobody has publicly claimed any AI progress against public-key systems like ECDSA, Ed25519 or Schnorr, or against NIST’s post-quantum standards (ML-KEM, ML-DSA, SLH-DSA and Falcon).

RSA is the one place with real news, and even there AI hasn’t improved the underlying algorithms. In September, AI coding agents helped factor RSA-260 and RSA-896, both new records, by porting the existing number field sieve to GPUs and throwing a lot of hardware at it. On the ZK Podcast, Tarun Chitra predicted that “if anyone breaks [RSA-]1024, it’s going to come from” two things: AI finding “a weirder set of ideals, a weirder kind of embedding” for the number field sieve, and making implementations “optimized for different hardware platforms a lot better.” The September records are the second kind of progress. There’s no sign of the first (AI finding better ideals), and historical wins from smarter number-field choices relied on special structure in the target that RSA moduli don’t have. Cognition estimates that RSA-1024 would now cost “roughly $30M” to break at market GPU prices. This isn’t really a problem though, as NIST told everyone to stop using 1024-bit RSA more than a decade ago, and by Cognition’s math “RSA-2048 remains roughly a billion times harder.”

The Exponential Time Hypothesis (ETH)

The scariest-sounding headline came this week, when OpenAI announced that its model had disproved the Exponential Time Hypothesis (ETH). Anthropic posted its own proof a few hours later. ETH says that 3-SAT, the classic hard logic puzzle, takes time exponential in the number of variables, 2^(cn) for some constant c > 0. The new algorithms run in 2^(o(n)). If the proofs hold up, this is a huge deal for complexity theory, and Anthropic counted more than 800 papers whose results rely on the Exponential Time Hypothesis.

But even if ETH is false, that has essentially no bearing on the security of practical cryptography. There are already subexponential algorithms for factoring integers (which underpins RSA). Anthropic’s paper notes that even for solving 3-SAT, “the improvement of our result does not appear in practical settings.”

Ryan Williams, who is helping lead the review of OpenAI’s proof, told TechCrunch that one of the first things he asked OpenAI was whether “this affects any crypto systems.” According to Williams, OpenAI was “reasonably confident that this didn’t … imply any breaks.”

What to actually worry about

AI is very good at finding implementation bugs, and Anthropic’s model has already turned up vulnerabilities in OpenSSL and wolfSSL. So it’s more important than ever to keep your software patched.

There’s been long-standing advice in the crypto community not to “roll your own cryptography,” but for cryptographers who are designing new schemes, it would be crazy to make a scheme public without first using a frontier model like Claude Fable to check it for vulnerabilities.