AIFeed

Is AI About to Break Encryption?

Original text(via HN AI)

On Wednesday, the theoretical computer scientist Scott Aaronson published a blog post titled HOLY SHIT HOLY SHIT HOLY SHIT HOLY SHIT about a remarkable fortnight in AI-assisted mathematics. Most of the post marvelled at proofs of decades-old theorems, yet one paragraph near the bottom immediately hijacked the internet: Aaronson wrote that he was “virtually certain, from multiple reliable sources, that the AI labs are now sitting on one or more bombshells” that could affect currently deployed cryptosystems.

Within hours, rumours were flying across X that OpenAI or Anthropic had secretly broken RSA and elliptic-curve cryptography (ECC). This morning (Saturday), The Guardian was running an exclusive warning of “global chaos”, quoting Bank of England Governor Andrew Bailey urging caution on new model releases and Oxford mathematician Marcus du Sautoy speculating on BBC Radio 4 that the labs might already have cracked the maths behind encryption and kept quiet about it.

In a wry follow-up on Friday called Every call, Aaronson tried to calm the stampede. The specific upcoming result he knows about, he clarified, is a breakthrough in theoretical cryptanalysis that poses no imminent danger to any deployed cryptosystem. Every public crypto-adjacent paper released this month tells a similar story. On Wednesday, for instance, Google Research posted an AI-generated paper claiming an unconditional proof of subexponential integer factoring (cogentic_research_papers), which sounds alarming until you inspect the constant inside the exponent (105, roughly 55 times worse than the 1990s Number Field Sieve). At real 2,048-bit key sizes, it threatens nobody.

Even so, Aaronson added a caveat that ought to keep security engineers awake. Setting unverified rumours aside, he noted that “it would be astonishing good luck if all our current crypto protocols managed to survive the onslaught of the newly superhuman AI mathematicians without a scratch.” To understand why some of the calmest minds in computer science are suddenly uneasy, it helps to look at the surprisingly shaky mathematical foundation holding up the modern internet.

Thanks for reading Dead Neurons! Subscribe for free to receive new posts and support my work.

The Venn Diagram Underpinning the Internet

Anyone who has taken an undergraduate computer science course will recognise the textbook Venn diagram of computational complexity. Inside a large box called PSPACE (problems solvable with reasonable memory) sit overlapping regions for NP (problems whose “yes” answers can be verified quickly), coNP (problems whose “no” answers can be verified quickly), BQP (problems solvable quickly on a quantum computer), and a small green circle in the middle called P (problems solvable quickly on an ordinary computer).

The Unproven Venn Diagram Beneath the Internet
The Unproven Venn Diagram Beneath the Internet

Global banking, HTTPS web traffic, software updates, and over a trillion dollars of cryptocurrencies all depend on the gaps between those circles. If factoring large numbers stays outside P, RSA works; if it falls inside P, RSA fails. What rarely makes it into cybersecurity brochures is that mathematics has never proved a single interior boundary inside that diagram exists. Complexity theorists have established a handful of containments (such as P ⊆ BQP ⊆ PSPACE and P ⊆ NP ∩ coNP ⊆ NP ⊆ PSPACE), along with the theorem that P is strictly smaller than exponential time (EXPTIME), which means at least one boundary somewhere along the chain must be real. Beyond that, almost the entire textbook picture is conjecture. For all mathematics has actually proved, every oval inside PSPACE could collapse into one circle where P = BQP = NP = coNP = PSPACE.

Even more awkwardly, deployed public-key encryption does not even sit on the hardest problems in NP. You might reasonably wonder why the internet relies on factoring integers (RSA) and elliptic-curve discrete logarithms (ECDSA) instead of an NP-complete problem like 3-SAT, where cracking encryption would at least require collapsing P = NP. The answer turns out to be a cruel structural quirk of cryptography itself. Public-key encryption between two strangers requires a hidden algebraic trapdoor so that the intended recipient can unlock a message quickly while everyone else gets stuck. Complexity theorists proved decades ago that the requirement of having a clean trapdoor disqualifies NP-complete problems; any classic stranger-to-stranger key exchange is pushed down into NP ∩ coNP, a narrow algebraic neighbourhood where both “yes” and “no” answers carry short mathematical proofs. Even the new post-quantum lattice standards (ML-KEM and FrodoKEM) live inside NP ∩ coNP.

Security Through Mathematical Ignorance

Security professionals love to lecture amateurs about the sins of “security through obscurity”, however modern cryptography turns out to be a slightly grander version of the same gamble, which might be called security through mathematical ignorance.

RSA and elliptic curves were never actually known to be secure; they were simply not yet proven insecure, which is rather poor form when you are resting global finance and national infrastructure on top of them. For 50 years, our substitute for a proof was a sociological assumption that if a few thousand clever humans had stared at factoring and discrete logarithms since the 1970s without finding a fast shortcut, no shortcut was coming soon.

That sociological assumption broke down remarkably quickly this month. Over the past 3 weeks, frontier AI systems paired with the Lean proof verifier (which checks every logical step mechanically so nobody has to take an LLM’s word for it) tore through a succession of monuments in pure mathematics. Levent Alpöge and Claude produced a machine-checked proof of the Riemann Hypothesis and Generalised Riemann Hypothesis, which Anthropic researcher Luke Sernau then compressed by 99.56% in 5 days (lsernau/grh-lean). Days later, Anthropic and OpenAI published proofs separating VP from VNP (the algebraic cousin of P versus NP), and OpenAI followed with matching upper and lower bounds pinning down the exact exponent of matrix multiplication (ω = 9/4), a problem open since 1969.

What stands out across these breakthroughs is the specific kind of reasoning AI proof search has mastered: chaining deep, multi-layer algebraic constructions across tens of thousands of lines without losing the thread. Exact algebraic trapdoors, the very structures RSA and elliptic curves hide behind, are no longer shielded by the limits of human working memory.

There is an encouraging flip side to the same development. Proving lower bounds (ruling out fast algorithms forever) has historically been much harder than finding attacks. As MIT’s Ryan Williams noted to Nature this week, AI’s newfound ability to prove hard algebraic lower bounds like VP ≠ VNP and ω = 9/4 opens the first realistic path in history toward actually proving parts of cryptography secure. The question now is whether AI finds shortcuts through our legacy algebra faster than it builds foundations for new defences.

Four Worlds of Complexity Collapse

Because public commentary rarely separates one mathematical break from another, every rumour tends to get flattened into a single Hollywood meltdown in which all passwords dissolve overnight. In reality, what breaks, how likely it is, and what society stands to gain depend entirely on which world of complexity theory we turn out to inhabit.

World 1: RSA and/or ECC Collapse (but still likely that P ≠ BQP, P ≠ NP)

Of all the disruptive outcomes, this is by far the most plausible. Factoring integers and solving elliptic-curve discrete logarithms sit inside BQP, yet they are not BQP-complete; they are specific problems in algebraic number theory. Just as primality testing (in 2002) and linear programming (in 1979) tumbled out of NP ∩ coNP into P without collapsing the rest of complexity theory, an AI could find a practical classical algorithm that cracks RSA, ECDSA, or both while quantum computers remain genuinely stronger than classical machines. There is no great scientific windfall here, just a stressful, urgent migration off 1970s maths, and the immediate blast radius looks quite different from the newspaper headlines.

Web confidentiality is already partway to safety, though with an important gap. Roughly 72.6% of human HTTPS traffic reaching Cloudflare’s edge already uses hybrid post-quantum key exchange (X25519 paired with lattice-based ML-KEM), which sits outside BQP and shields traffic between your browser and the CDN. Behind the edge, however, only 28.5% of scanned origin servers support post-quantum key exchange yet, leaving the back half of most connections over the backbone internet (along with traffic recorded years ago under legacy RSA) exposed until origin fleets catch up. The sharper immediate emergency is authentication and the software update pipeline. Your phone, laptop, browser, and cloud servers all verify incoming security patches using RSA or ECDSA keys baked into existing devices. If an attacker can forge those signatures before vendors push out post-quantum root certificates (ML-DSA or hash-based SLH-DSA), shipping an emergency fix turns into a race against forged malware updates. That update-bootstrap problem is the exact reason any AI lab discovering a practical break would remain completely silent for months under coordinated disclosure while operating system vendors rotated root keys behind the scenes.

The financial fallout would also be asymmetric. If elliptic curves fall, around a quarter of all Bitcoin (including Satoshi’s coins and modern Taproot outputs) and every Ethereum address that has ever sent a transaction already expose their public keys on-chain; even untouched Bitcoin addresses hidden behind hashes expose their public key in the mempool the moment you attempt to spend them, letting fast attackers front-run the transfer. Because blockchains are irreversible by design, a live ECDSA break forces an emergency hard fork. Traditional banking, by contrast, is ironically far better insulated: core interbank settlement runs on private networks, symmetric hardware security modules, out-of-band checks, and legal reversibility.

World 2: Practical P = BQP (but still likely that P ≠ NP)

A considerably less likely world, though still far more plausible than P = NP, is a practical collapse of BQP into P, meaning ordinary classical computers can efficiently simulate quantum computation. Cryptographically, this triggers the exact same RSA and elliptic-curve migration crisis as World 1, while post-quantum lattices, AES-256, SHA-256, and pure hash signatures all survive untouched.

Where World 2 diverges dramatically from World 1 is the upside. Billions of dollars spent building cryogenic quantum hardware would evaporate overnight, and in return ordinary GPU datacenters would suddenly gain fast, exact simulation of quantum physics. Simulating complex molecules, nitrogen-fixing catalysts, high-temperature superconductors, drug-protein binding, and next-generation battery materials is BQP-complete. In net terms, a practical P = BQP world would likely be an extraordinary windfall for humanity: we would endure a painful cryptography upgrade and receive the main scientific prize quantum computers were promised for, decades ahead of schedule, on silicon we already have sitting in warehouses at hyperscale.

World 3: Minicrypt (All Public-Key Encryption Falls)

A harsher, lower-probability outcome (though one that Aaronson and other theorists still treat as genuinely live over the long run) is that AI’s algebraic strength does not stop at RSA and elliptic curves. To keep key sizes compact enough for the web, NIST’s flagship post-quantum lattice standards (ML-KEM and ML-DSA) layer structured polynomial rings on top of random noise. If AI eventually cracks structured rings, and even unstructured lattices like FrodoKEM, we land in the complexity world Russell Impagliazzo christened Minicrypt, where every public-key cryptosystem fails and only symmetric ciphers (AES-256) and cryptographic hashes (SHA-256) survive.

Even in Minicrypt, the internet can still keep operating securely (after a rushed period of migration). Digital signatures migrate to pure hash-based schemes like SLH-DSA (SPHINCS+), which carry zero algebraic trapdoors and rely solely on SHA-256 being hard to invert. Key exchange requires a more architectural shift, since a classic theorem by Impagliazzo and Rudich proves that two complete strangers on a tapped wire cannot get exponential privacy from hashes alone. Instead of pure maths, the web would lean on split-trust symmetric key brokers bootstrapped from factory keys already burned into SIM cards and device Secure Enclaves. Your phone would share symmetric keys with 5 mutually distrusting brokers (say Apple, Cloudflare, your mobile carrier, Mozilla, and a Swiss non-profit); each broker would hand you and your bank an independent random 256-bit key share, and both sides would XOR the 5 shares together into a single AES-256 session key. No eavesdropper and no 4-of-5 collusion could read the traffic. Zero-infrastructure privacy between strangers would vanish, while encrypted banking and commerce would carry on smoothly, built on far simpler cryptographic primitives with a tiny mathematical surface area.

World 4: Practical P = NP

Finally, there is the total collapse in which P = NP with a fast, practical solver. Almost every complexity theorist regards this world as vanishingly unlikely, and even more so after AI models produced algebraic lower bounds like VP ≠ VNP and ω = 9/4 this week, pushing the mathematical evidence further toward P ≠ NP.

Still, it is worth being clear-eyed about what would happen if a practical P = NP solver did appear, because the short-term consequences would be genuinely catastrophic. In that world, AES-256, SHA-256, SIM card authentication, chip-and-PIN payment cards, corporate VPNs, password hashes, and the symmetric hardware security modules behind interbank settlement all break at once, leaving Claude Shannon’s 1949 one-time pad (pre-shared random keys as long as the messages themselves, delivered by physical courier) as the only unbreakable encryption left. Secure digital communication would collapse overnight. Payment networks and card rails would freeze because no bank could verify whether a transfer was authentic, triggering ATM limits, bank runs, and sudden paralysis across just-in-time logistics and supermarket supply chains. Acute fuel and food shortages would be a real risk during the months it took societies to fall back to paper cash, offline ledgers, and physical couriers.

Only on the other side of that severe institutional shock would the long-term upside kick in, and it would be staggering. Any problem whose solution can be checked quickly could suddenly be solved just as quickly: every mathematical theorem with a short proof, every optimal protein fold, every chip layout, every formal software verification proof, and every global logistics schedule would turn into a routine fast calculation. If humanity got through the first 6 months of broken payments without tearing itself apart, a practical P = NP world would look less like a cybersecurity incident and more like an overnight scientific singularity.

Beyond 2035

Even if this week’s rumours turn out to be purely theoretical papers with galactic constants that threaten no real keys today, the comfortable assumptions of the past decade have quietly expired. Governments and banks have treated post-quantum migration as a leisurely infrastructure project, pencilling in NIST’s 2035 deadline on the belief that fault-tolerant quantum computers were still a decade away. Last month, when AI models began uncovering critical software bugs and weaponising them in under an hour, organisations learned that 30-day patch cycles were obsolete. This month, we are discovering that resting the digital economy on the hope that no human will crack an unproven algebraic shortcut is just as fragile, and that moving off our oldest cryptographic maths can no longer wait for a quantum computer to arrive.

Thanks for reading Dead Neurons! Subscribe for free to receive new posts and support my work.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗