Can AI Break Encryption? What the Math Really Shows
Can AI break encryption? See what DeepMind's RSA work and AI prime-number proofs really showed, why bugs are the nearer risk, and how to protect your data.

Table of contents
You open your banking app, see the little padlock, and never think about it. This week, headlines told you to think about it. The Guardian, the Financial Times and The Independent all ran pieces asking whether artificial intelligence is about to crack the math that keeps your messages and payments private.
So can AI break encryption? The short answer is not the way the scariest headlines suggest, at least not yet. The longer answer is more interesting, because AI is changing cryptography in three different ways at once, and only one of them should worry you today. This guide separates them, shows what has actually been demonstrated, and explains what the shift means for the data you send now.
Why the Encryption Question Exploded This Month
The fear did not come from nowhere. AI systems have spent the year doing math that once took human experts decades.
In October, OpenAI announced results that included a proof of the "quasi-Riemann hypothesis," a weaker cousin of the most famous open problem about prime numbers. Quanta Magazine quoted Stanford mathematician Jared Duker Lichtman calling it "the most significant AI-for-math achievement so far, by quite a margin." Because prime numbers sit at the heart of RSA encryption, people jumped to an obvious question: if AI can crack the hardest problems about primes, can it crack the locks built from them?
Then the central bankers weighed in. In a Bank of England essay on frontier AI, Governor Andrew Bailey wrote that it "materially increases the scale and sophistication of cyber threats facing the financial system." Put those together and you get this week's headlines. We covered the earlier wave of AI proofs in our explainer on what Google's Lean results actually prove.
What Encryption Actually Depends On
Encryption is a bet. It bets that certain math problems are so hard that every computer on Earth working together could not solve them before the sun burns out.
- RSA bets that multiplying two huge primes is easy, but splitting the result back into those primes is practically impossible. A 2048-bit RSA key is a number about 617 digits long.
- Elliptic curve cryptography, which protects most web traffic and messaging today, bets on a different hard problem, the discrete logarithm on a curve.
- Symmetric ciphers such as AES, which scramble the actual content once two devices agree on a key, bet on there being no shortcut faster than trying keys.
Here is the key point. A proof about how primes are distributed is not a factoring algorithm. Cryptographers have long assumed the Riemann hypothesis is true and designed systems on that assumption. Blue News, in its review of this year's AI math breakthroughs, concluded that encryption for online banking remains secure. To break RSA, someone needs a practical method to factor 617-digit numbers, and none of the published AI proofs supply one.
Can AI Break Encryption Today? What It Has Really Done
The most concrete result came from Google DeepMind in early November. Its AI agents, working under human supervision with researchers from UC San Diego and France's Inria, studied 1024-bit RSA, a legacy key size that has largely been retired.
According to SecurityWeek and DeepMind's own working paper, the agents found two things:
- A signature weakness. When an attacker controls roughly half or more of the data being signed, the standard "padding" added for protection offers virtually no extra security.
- Cheaper attacks at scale. SecurityWeek reports a theoretical improvement of about 1,600 times over the previous best attack in one setting, plus an unimplemented method that would cut the average cost of factoring each additional 1024-bit key by about 30 times in batch.
The measured part was smaller. The paper reports that the agents reran a known RSA-1024 computation in 391 CPU core-years, about 3.5 times less than the 1,380 the original academic team needed. DeepMind says modern deployments, which use 2048-bit keys or larger, are not affected.
Why it still matters: cryptanalysis used to move over years or decades. AI agents compressed one corner of it into days. The worry is the speed of progress, not a broken lock.
The Real Near-Term Risk: Bugs, Not Math
Strong math does not help if the software around it is sloppy. Most real-world encryption failures come from implementation mistakes: a random number generator that is not random, a key stored in plain text, an old protocol left switched on for compatibility.
This is where AI already changes the odds. Models are getting very good at reading code and spotting flaws, which helps defenders and attackers alike. Our report on an AI finding a bug faster than anyone could patch it shows how that race plays out.
For you, the practical upshot is simple. The padlock on your banking app is far more likely to be undermined by an unpatched phone, a reused password or a phishing link than by an AI solving a famous math problem.
The Quantum Clock and "Harvest Now, Decrypt Later"
The other long-term threat is quantum computing. A large enough quantum computer could break RSA and elliptic curve encryption using a known algorithm. Those machines do not exist yet, but AI is accelerating research on both the hardware and the attacks. Our explainer on whether quantum computing is ready to beat classical machines covers where the hardware stands.
The danger is not only the day a machine arrives. Apple's security team describes the tactic plainly: well-funded attackers can collect large amounts of today's encrypted data, store it cheaply, and decrypt it once the tools exist. That is called "harvest now, decrypt later."
A worked example: does your data outlive its encryption?
Security researchers use a simple test, often credited to cryptographer Michele Mosca. Add two numbers and compare them to a third:
- X: how many years your data must stay secret
- Y: how many years it takes to move your systems to new encryption
- Z: how many years until attackers can break today's encryption
If X + Y is greater than Z, you already have a problem.
Try it with a medical record that must stay private for 25 years, at a hospital that needs 7 years to upgrade its systems. X + Y = 32 years. If a code-breaking capability arrives in 15 years, that record is exposed for 17 years of its life. A text about dinner plans, with an X of a few weeks, passes easily. The longer your data must stay secret, the sooner it needs new encryption.
Who Is Already Switching to New Encryption
The good news is that the fix exists and is rolling out.
- NIST finalized its first three post-quantum encryption standards, FIPS 203, 204 and 205, two years ago. NIST mathematician Dustin Moody urged administrators to "start integrating them into their systems immediately, because full integration will take time." In late October, NIST published the final version of its transition plan for moving off vulnerable algorithms.
- Apple upgraded iMessage to a post-quantum protocol called PQ3, which it called the most significant cryptographic security upgrade in iMessage history.
- Signal added quantum resistance to the Signal Protocol, which also underpins encryption in several other messaging apps.
Post-quantum algorithms rest on different hard problems, such as lattice math, that neither quantum computers nor any known AI technique can shortcut. They also run on ordinary phones and laptops.
What You Should Do Now
- Keep devices and apps updated. Encryption upgrades arrive silently through software updates. An old phone that no longer gets updates keeps the old locks.
- Use end-to-end encrypted messaging for anything sensitive, and prefer apps that have announced post-quantum protection.
- Turn on passkeys or an authenticator app for important accounts. They remove the phishing risk that is far more likely to hurt you than a cryptographic breakthrough.
- If you run systems for a business, make an inventory of where you use RSA and elliptic curve keys. That list is the first step in any migration plan.
Frequently Asked Questions
Can AI break encryption right now?
No widely used modern encryption has been publicly broken by AI. DeepMind's AI agents found faster attacks on outdated 1024-bit RSA, and DeepMind says 2048-bit and larger keys are not affected.
Does proving the Riemann hypothesis break RSA?
Not directly. RSA depends on how hard it is to factor large numbers. A proof about how primes are distributed does not provide a practical factoring method, and cryptographers already assume the hypothesis is true.
What is post-quantum encryption?
It is encryption built on math problems, such as lattices, that are believed to resist both quantum computers and classical attacks. NIST has published standards for it, and Apple and Signal already use it in their messaging protocols.
Is my bank account safe from AI hackers?
The encryption protecting it remains strong. The bigger risks are phishing, reused passwords and unpatched devices, which AI tools can make more convincing or more efficient. Updates and passkeys address those directly.
The Lock Holds, but the Locksmiths Got Faster
AI has not broken the math behind your padlock. It has made mathematicians, bug hunters and code-breakers much faster, and that compresses the timeline for every weakness that already exists.
The response is not panic. It is the boring work of updates, better logins and a steady move to post-quantum encryption, which the biggest platforms have already started for you.
Written by
Nora Whitfield
Technology & Science
Covers technology and science for Quick Trend Insights, with a focus on what new AI tools, consumer hardware and space missions actually change for the people following them.
Related Articles
View all
Space Data Centers: Why the Physics Is So Hard
The FCC cleared SpaceX for space data centers. Here is what heat, radiation and launch costs mean for orbital AI, with the per-megawatt math that decides it.

Run AI Locally: What Your Laptop Can Really Handle
Want to run AI locally? Learn the memory math that tells you which models fit your laptop, how to estimate speed before you download, and when local wins.

Google AI in Schools: Why Districts Are Pushing Back
Google AI in schools now means AI Search or no Search. What Google changed, why LA and NYC are pushing back, and what parents can do about AI Overviews.
