Back to Blog

Will AI-Driven Mathematics Break Modern Encryption?

By ML Team••12 min read
CryptographyAI for MathPost-QuantumLeanResearch

In twelve months, AI systems went from Olympiad problems to research conjectures. In 2026 they disproved the Jacobian conjecture, produced blow-up proofs for the Navier–Stokes equations, and produced a machine-checked proof of the Riemann Hypothesis that the Lean community has certified. Almost every secure connection on the internet rests on a few mathematical problems that are assumed to be hard. So it is fair to ask whether one of those could be next.

Our read: the risk is real but uneven. AI has not broken RSA, elliptic curves, AES or the new lattice standards, and nobody credible claims otherwise. But AI has already knocked one post-quantum candidate out of NIST’s process, built faster factoring tools, and sits behind a reported quantum attack on the structured lattices under ML-KEM and ML-DSA. The safe response is the same as before, only more urgent: move off RSA and ECC, and build systems that can swap algorithms quickly.

17M lines
Lean proof of the Riemann Hypothesis, certified Nov 21, 2026
264 → 238
HAWK key recovery after an AI-found lattice symmetry
<1M
Noisy qubits to break RSA-2048 (Gidney, 2025)
2030 / 2035
NIST deprecates / disallows RSA and ECC

What Encryption Actually Bets On

Modern cryptography is not one bet. It is a handful of different bets, and they fail in different ways:

  • RSA and elliptic curves (key exchange and signatures for most of the web) rest on factoring and discrete logarithms. A large quantum computer running Shor’s algorithm breaks both, so they are already scheduled for retirement whatever happens with AI. The open question is whether a classical fast algorithm exists. The best one, the number field sieve, dates from around 1990.
  • AES, SHA-2 and SHA-3 (the bulk encryption and hashing) have no neat reduction to a famous problem. Their security is decades of failed cryptanalysis. That makes them less exposed to a single brilliant theorem, and more exposed to a steady accumulation of small attacks.
  • Lattices (ML-KEM and ML-DSA, NIST’s new standards) rest on Module-LWE: finding short vectors in high-dimensional lattices with extra algebraic structure. That structure is what makes them efficient, and it is also exactly where a new mathematical idea could get a grip.
  • Hash-based signatures (SLH-DSA) and codes (HQC, selected in 2025 as a backup) are deliberately different bets, kept so that one breakthrough cannot take out everything.

A crucial caveat: none of these problems is proven hard. Proving it would require at least P ≠ NP, and even that would not be enough. Cryptography runs on well-tested conjecture, which is precisely the kind of thing a strong mathematician, human or machine, can overturn.

Timeline: Mathematics and Cryptography, 2022–2026

The headline results in mathematics alongside the events that matter for cryptography. Each entry shows how far it has been verified. In 2026 that matters: several of the biggest results are machine-checked in Lean but not yet peer reviewed, and a few are still claims.

AcceptedMachine-checked, not peer reviewedClaim under reviewFailed / walked backStandard / policy
  1. CryptographyAIClaim under review

    Quantum attack on structured lattices expected

    Scott Aaronson reports an unreleased AI-lab paper giving quasi-polynomial quantum algorithms for module lattices of small rank. If it holds, Ring- and Module-LWE are no longer quantum-hard, though he calls it impractical and “not an imminent danger.” Shtetl-Optimized

  2. MathematicsAIMachine-checked, not peer reviewed

    Riemann Hypothesis: Lean proof certified

    Alpöge released a 17-million-line Lean library, built with Claude, proving the generalized Riemann Hypothesis for Dirichlet L-functions. The Lean FRO and Mathlib Initiative certified statement and proof. No human-readable proof, no peer review, no Clay decision yet. Lean FRO statement

  3. MathematicsAIClaim under review

    Navier–Stokes blow-up without forcing

    Buckmaster and Alpöge posted a 79-page proof with ~600,000 lines of Lean, written with AI help. A numerical certificate is still to be released; the Clay Institute lists the problem as active. TNW

  4. CryptographyStandard / policy

    NIST sets the RSA/ECC end date

    Final NIST IR 8547: quantum-vulnerable public-key algorithms deprecated after 2030 and disallowed after 2035. NIST

  5. MathematicsAIMachine-checked, not peer reviewed

    Quasi-Riemann hypothesis

    OpenAI papers proved a zero-free strip for zeta: zeros lie between real parts 1/8 and 7/8 (Lean-verified), later 1/12 and 11/12 (not yet formalized). Quanta

  6. CryptographyAIAccepted

    RSA-260 and RSA-896 factored with AI-built tools

    Coding agents ported the number field sieve to GPUs, setting new factoring records. Both authors stress there was no algorithmic advance and RSA-2048 is unaffected. Cognition

  7. MathematicsAIClaim under review

    Navier–Stokes blow-up with forcing

    OpenAI announced a Lean-certified proof that 3D Navier–Stokes with a smooth external force can blow up in finite time, amid a priority dispute with Buckmaster. The Millennium problem asks about the unforced case. Scientific American

  8. CryptographyAIAccepted

    AI-found attack knocks HAWK out of NIST round

    Anthropic reported a lattice symmetry in the HAWK signature candidate that cut key recovery from about 2^64 to 2^38 for its smallest parameters. HAWK was withdrawn from NIST’s additional-signatures round the next day. Anthropic

  9. MathematicsAIMachine-checked, not peer reviewed

    Jacobian conjecture disproved (dim ≥ 3)

    Levent Alpöge announced an explicit polynomial counterexample found with Claude. Anyone can check it by hand, and it has been verified in Isabelle/HOL. The two-variable case remains open. Isabelle AFP

  10. MathematicsAIClaim under review

    Erdős unit-distance conjecture disproved

    An OpenAI model constructed point sets with n^(1+ε) unit distances. Experts including Alon, Bloom, Gowers and Sawin reviewed and sharpened it; not yet peer reviewed. arXiv 2605.20695

  11. CryptographyAccepted

    Elliptic-curve keys: under 500k qubits

    Google Quantum AI estimated 256-bit elliptic-curve discrete logs (Bitcoin and TLS keys) at about 1,200 logical qubits and minutes of runtime, publishing a zero-knowledge proof of its counts instead of the circuit. Google Research

  12. MathematicsAIMachine-checked, not peer reviewed

    Erdős problem #728 solved, mostly by AI

    Harmonic’s Aristotle with an OpenAI model produced a solution with a Lean proof and a human write-up. More AI-credited Erdős results followed through the year. arXiv 2601.07421

  13. MathematicsAIFailed / walked back

    “GPT-5 solved 10 Erdős problems”

    The model had located existing solutions in the literature, not produced new ones. A useful reminder that claims and results are different things. TechCrunch

  14. MathematicsAIAccepted

    Unstable singularities in fluid equations

    DeepMind with Buckmaster, Gómez-Serrano and others used physics-informed networks to find unstable self-similar blow-up candidates. Numerical evidence, the groundwork for 2026’s Navier–Stokes claims. arXiv 2509.14185

  15. MathematicsAIAccepted

    AI reaches IMO gold

    Google DeepMind’s Gemini Deep Think and an OpenAI experimental model each scored 35/42 in natural language; DeepMind’s result was certified by the IMO. Google DeepMind

  16. CryptographyAccepted

    RSA-2048 with under a million qubits

    Craig Gidney cut the estimate for breaking RSA-2048 from 20 million noisy qubits (2019) to under 1 million, running for under a week. arXiv 2505.15917

  17. MathematicsAIAccepted

    AlphaEvolve improves Strassen

    48 multiplications for 4×4 complex matrices (Strassen-style recursion needs 49) and a new 11-dimensional kissing configuration. Google DeepMind

  18. MathematicsAccepted

    Kakeya conjecture in 3D

    Hong Wang and Joshua Zahl resolved the three-dimensional Kakeya conjecture. arXiv 2502.17655

  19. CryptographyAccepted

    Willow: error correction below threshold

    Google’s 105-qubit chip showed logical error rates falling as the surface code grew, a prerequisite for any cryptographically relevant quantum computer. arXiv 2408.13687

  20. CryptographyStandard / policy

    NIST publishes post-quantum standards

    FIPS 203 (ML-KEM), 204 (ML-DSA) and 205 (SLH-DSA) were finalized. The first two rest on structured (module) lattices, the third on hash functions. NIST FIPS 203

  21. MathematicsAIAccepted

    AlphaProof: IMO silver in Lean

    AlphaProof and AlphaGeometry 2 scored 28/42 at the International Mathematical Olympiad, writing machine-checkable Lean proofs. Google DeepMind

  22. MathematicsAccepted

    Geometric Langlands conjecture proved

    Gaitsgory, Raskin and collaborators completed a proof spanning roughly 800 pages across five papers. Proof papers

  23. MathematicsAccepted

    Guth–Maynard zero-density bound

    The first major improvement in about 80 years on how many zeros of the zeta function can lie off the critical line. arXiv 2405.20552

  24. CryptographyFailed / walked back

    Quantum LWE attack claimed, then a bug

    Yilei Chen claimed a polynomial-time quantum algorithm for LWE, the problem under today’s lattice standards. Within eight days a bug was found in step 9 that he could not fix. ePrint 2024/555

  25. MathematicsAIAccepted

    FunSearch finds larger cap sets

    Google DeepMind paired a language model with an automatic evaluator and found cap sets in dimension 8 larger than any previously known. Nature

  26. CryptographyAccepted

    SIKE broken on a laptop

    Castryck and Decru broke the post-quantum finalist SIKE in about an hour on one core, using a 1997 theorem about abelian surfaces. Pure mathematical insight, no new hardware. ePrint 2022/975

Three Ways AI Could Break Encryption

1. A new idea: the SIKE scenario

The historical precedent is not brute force. It is insight. In 2022 SIKE, a post-quantum finalist, fell in about an hour on a laptop because two mathematicians connected it to a 25-year-old theorem. Rainbow fell the same year to a new algebraic attack. Neither break needed more computing power. Each needed someone to see the problem differently.

That is exactly the capability AI gained in 2026. The Jacobian counterexample and the unit-distance construction are not search results. They are new constructions in algebra and number theory, the fields cryptography borrows from. HAWK is the first cryptographic casualty: an AI-found symmetry in its lattice cut key recovery for its smallest parameters from 264 to 238, and the designers withdrew it. The attack is still exponential, and Anthropic says no production software has to change. But the pattern of a structural insight, found by a model and fatal to a scheme, is no longer hypothetical.

2. Better engineering of known attacks

The 2026 factoring records for RSA-260 and RSA-896 came from coding agents porting the number field sieve to GPUs. The authors are explicit that the algorithm is unchanged and RSA-2048 is unaffected. Cognition estimates RSA-1024 at roughly $30M per key with these tools. That is expensive, but it is a reminder that legacy 1024-bit keys are living on borrowed time. AI lowers the cost of the attacks we already know without changing their asymptotics.

3. Helping the quantum timeline

The quantum threat to RSA and ECC is not new, but the resource estimates keep dropping: from 20 million qubits in 2019 to under 1 million in 2025, and under 500,000 for elliptic curves in 2026. The most consequential item on our timeline is still unpublished. Scott Aaronson reports an AI-assisted paper giving quasi-polynomial quantum algorithms for module lattices of small rank, the structure under ML-KEM and ML-DSA. If it holds, structured lattices lose their quantum hardness guarantee. Aaronson also stresses that the constants make it impractical and that it is “not an imminent danger”. The 2024 Chen episode is a reason to wait for the paper and for review before reacting.

What Has Not Happened

  • No classical fast algorithm for factoring or elliptic-curve discrete logs. RSA-2048 and P-256 stand.
  • No practical attack on full AES. AI-assisted work improved 7-round AES-128 attacks, but they still need around 2105 chosen plaintexts.
  • No published classical break of ML-KEM or ML-DSA.
  • “AI broke RSA” posts have no source. MIT’s Vinod Vaikuntanathan called some of this month’s rumors “flat out wrong”.

It also helps to separate implementation from mathematics. AI bug-hunters found a string of OpenSSL vulnerabilities in 2026, and that is where most near-term damage will come from. A perfectly secure algorithm in buggy code is still broken.

Why Verification Is the Bottleneck, and How Lean Helps

Many of 2026’s results arrived as machine-checked proofs in Lean before any human had fully read them. That is a double-edged development. A Lean proof that compiles is correct about the statement it proves, so a claimed attack can be checked quickly and without trusting the lab that made it. But the 17-million-line Riemann Hypothesis proof shows the other side. Certification tells us the result is true, not why. A cryptanalytic idea that nobody understands is hard to extend, and hard to defend against.

New to proof assistants? Read our explainer What Is Lean?. It covers how propositions become types, what a small trusted kernel buys you, and why Lean has become the referee for AI mathematics.

Verdict: What to Do Now

RSA and ECC: already on the way out

AI does not change the plan; it removes slack. NIST deprecates them after 2030, and a June 2026 US executive order requires post-quantum key exchange in high-value federal systems by the end of 2030. “Harvest now, decrypt later” means data encrypted today with RSA or ECC key exchange is already exposed to a future break.

Lattices: deploy, but in hybrid

ML-KEM is still the best available option against quantum attackers, and no classical break is known. Pair it with classical X25519 (as major browsers and Cloudflare already do), watch the structured-lattice paper closely, and keep code-based HQC and hash-based SLH-DSA ready as alternatives.

Symmetric crypto: comfortable, with margin

AES-256 and SHA-3 have no algebraic shortcut to exploit and large security margins. Use 256-bit keys and keep patching implementations.

The real lesson: crypto-agility

The pace of 2026 makes one thing clear: an algorithm can go from “finalist” to “withdrawn” in a day. Systems that can rotate algorithms through configuration, not a rewrite, are the defence that holds whatever the next proof turns out to be.

So, might modern encryption be broken? Parts of it, plausibly, and on a timeline that 2026 has made harder to predict. All of it, at once, by a single AI result? Nothing in the evidence points there. The bets are diversified precisely so that one breakthrough cannot do that.

Blog | MachinaLearning