AI Cryptanalysis Puts Public-Key Assumptions Under Scrutiny

| 5 min read

Matthew Green doesn't think public-key cryptography is about to collapse. But the Johns Hopkins cryptographer has put a number on a scenario that should make security teams pay attention. He wrote that there's a 1% chance we live in a world where the cryptographic primitives behind everyday encryption turn out to be fundamentally weak, and a 15% chance that we functionally lose confidence in our existing public-key algorithms. His argument isn't that AI is about to break TLS. It's that machines have started beating humans at some mathematical problems, and the cryptography field has been treating the difficulty of those problems as settled.

The warnings, posted on X, sparked a debate that has spread across LinkedIn and security forums. Green's concern is narrower than the headlines suggest. He's not writing an obituary for public key infrastructure (PKI), the stack of certificates, keys, and certificate authorities that protects Transport Layer Security (TLS), code signing, and many other functions. He's worried about the mathematical foundations underneath it.

His sharpest point is about concentration. "I'm worried about standardized public-key encryption (and some signatures) and specifically the fact that most of it is based on a small number of hard problems," Green wrote in a follow-up. That's a single-point-of-failure argument. If a shortcut appears for one of a handful of underlying problems, a large share of deployed cryptography is exposed at once. Green's fear is that a major cryptanalytic surprise arrives faster than standards bodies and vendors can respond, which would trigger a real loss of confidence in internet security. His prescription is improved cryptographic agility, meaning systems that can swap algorithms quickly instead of requiring years of re-engineering.

Not everyone is ready to sound the alarm. Markku-Juhani O. Saarinen, a cryptographer and professor at Finland's Tampere University who has studied AI-powered cryptanalysis closely, says he takes Green's warning seriously but thinks the response should be measured. There's no case for ripping out established standards. "We really can't entirely rule out surprises, but I'd also definitely not recommend some hasty moves, because those are sure to cause problems," he said. His view is that the post-quantum transition already underway is the right path, and that it's the most sensible approach from an information security perspective.

The math at stake

Saarinen splits the hard problems cryptographers rely on into two categories. The distinction matters for understanding what AI is actually doing.

  1. Numerical problems, where a solution is believed to be hard for computers to compute.
  2. Analytic problems that are open and have traditionally been settled by a human with pencil and paper, through a proof, a counterexample, or a new theory.

Cryptography has mostly leaned on the first category. Classic examples include factoring large products of primes and computing discrete logarithms, plus newer candidates such as learning with errors (LWE). Theoretical computer science spends a lot of effort analyzing how hard these problems really are. The second category is where Saarinen sees the change. "What has happened in 2026 is that mathematics had its 'Lee Sedol moment' (after the 'last Go grandmaster') and [analytical] problems previously thought to be in the human domain (2) are now being solved by computers," he told CSO.

That shift is a different kind of threat from quantum computing. Quantum algorithms attack the numerical problems directly. AI could instead find structural weaknesses in how a scheme is built. Saarinen's reading of the fear is blunt: "The fear in cryptography is that AI will find a shortcut for some hard computational problems and make them easy. While AI is very good at optimizing computation, we don't expect it to turn all hard computational problems into trivial ones."

2026: Breaking HAWK and McEliece

The more concrete evidence comes from schemes that have already fallen. Saarinen points to HAWK, a relatively new scheme, which an AI-driven analytic break weakened in 2026. He notes that numerous older proposals have also been broken by human researchers, so cryptographers aren't surprised that new designs fail. What's new is the source of the attack.

AI also contributed to a significant shortcut against the McEliece cryptosystem, one of the oldest public-key schemes, designed in 1978. The result landed hard in Europe. "The German cyber agency had been recommending a variant called 'Classic McEliece' for quantum security since 2020, but withdrew its recommendation at the end of September," Saarinen said.

Saarinen is careful about how far these breaks reach. In both cases, he argues, the schemes could still be considered secure if security parameters were adjusted, though that fix would have doubled public and secret keys, signatures, and ciphertexts. For operators, that's a real cost in bandwidth and storage, not a theoretical one. It's also a reminder that parameter choices are a form of security margin, and that margin is exactly what AI-assisted analysis is now testing.

The classical public-key systems carry a different problem. Saarinen says RSA and elliptic-curve cryptosystems are already "broken" from a computational-complexity viewpoint, because "polynomial-time quantum algorithms for them have been known since 1994, and building quantum computers is 'just an engineering problem.'" That's the reason the industry is migrating now, even without AI in the picture. The main post-quantum alternatives, ML-KEM, ML-DSA, and SLH-DSA, have received more than a decade of intense analysis. That history is their best defense, though it doesn't guarantee they'll survive the next round of AI-assisted scrutiny.

Is public-key more exposed than symmetric?

A related question is whether AI is more likely to find a shortcut against public-key cryptography or symmetric cryptography. Saarinen's answer leans toward public-key. Public-key schemes need mathematical structure to build the "trapdoor," the secret that lets a holder decrypt a message or create a signature that anyone with the public key can verify. That structure is exactly what an analytic tool might exploit. "Symmetric-key cryptography (hashes and keyed ciphers) has simply more design freedom in this sense," he concluded.

That freedom is why symmetric primitives like AES and modern hash functions have generally held up better over time. It doesn't make them immune, but it means there's less algebraic scaffolding for an attacker to climb. For teams planning their architecture, the practical implication is that symmetric components may be a steadier foundation than the public-key pieces wrapped around them.

Agility over panic

Professor Alan Woodward, a computer scientist at the University of Surrey, is less convinced that LLMs have made a major dent in cryptography so far. He sees real progress but thinks it's mostly on the engineering side. "We've seen some inroads and erosion of the security guarantees, but what's actually happening as far as I can see is that the LLMs are acting as a great tool for mathematicians, cryptographers, and computer scientists to speed up their research: that leap of intuition needed to find the fatal flaw still seems to need humans," he said. "LLMs are very effective at finding flaws in those implementations rather than the underlying mathematics."

That distinction matters for where defenders should look first. Implementation bugs, side channels, and misconfigured parameters are the most immediate AI-assisted risks, and they're fixable in code. Flaws in the mathematics are rarer, slower to find, and harder to patch. Woodward draws a parallel with the quantum threat: both problems argue for cryptographic agility, meaning the ability to swap schemes when one fails.

Woodward also points out that migration is already underway. "We've already seen people migrating in preparation for 'Q-Day' so in some ways that should already be addressing the risks posed, if they're real, by LLMs," he said, referring to the hypothetical point when quantum computers can break public-key encryption. His preferred architecture is hybrid. "The most effective route so far seems to be a hybrid route where we have a mix of cryptographic schemes that, whilst one or two might fall away, leaves us with others we can rely upon. Any found to be flawed for whatever reason can be deprecated rapidly and the intact schemes used instead."

So where does that leave a security team? Probably not in a panic, and not in a wait-and-see posture either. Inventory which public-key algorithms and parameter sets your systems depend on, and find out how many of them can be replaced without a forklift upgrade. Test hybrid key exchange where it's available. Treat algorithm choice as configuration you can change, not a permanent decision baked into hardware and firmware. Green's 15% figure may be a guess, but it's a useful forcing function. The next AI-driven break probably won't come with a press release, and the teams that can rotate algorithms in weeks will be in a far better position than those still hunting for where their cryptography lives.

Source: John Davis · www.csoonline.com