It's been a while since I've written a blog post, but yesterday I was at work talking to one of the engineers about the recent news surrounding artificial intelligence and the possibility of AI breaking RSA encryption. He asked me what my thoughts were, and we ended up going down a rabbit hole discussing computational complexity, cryptography, large language models, and even quantum computing. I thought it was an interesting conversation and figured I would share my two cents.
I've spent quite a bit of my life in school studying computer science and cybersecurity. That doesn't mean I'm always right. I could be completely wrong about some of my predictions, but I think this is an interesting intellectual exercise, especially given how quickly artificial intelligence is progressing.
So, what are my thoughts on AI potentially breaking RSA?
A Little Background on Cryptography
Before getting into artificial intelligence, I think it's important to understand a little bit about how we communicate securely over the internet.
Generally speaking, we have two major categories of encryption: symmetric and asymmetric encryption. Symmetric encryption uses a shared secret key to encrypt and decrypt information, whereas asymmetric encryption uses a mathematically related public and private key pair.
Let's say you're communicating with Google. Before you start exchanging sensitive information, you want to establish two things:
- Am I actually communicating with Google?
- Can I communicate with Google without someone else reading or modifying our conversation?
The first problem involves authentication. Your browser relies on digital certificates, certificate authorities, and digital signatures to establish that the server you're communicating with is who it claims to be.
Once we establish trust, we also need a way to securely establish shared encryption keys. This is where protocols such as Transport Layer Security (TLS) come into play. Depending on the version of TLS and its configuration, we might encounter algorithms such as RSA, Diffie-Hellman, elliptic-curve Diffie-Hellman, AES, or ChaCha20. These algorithms serve different purposes, but collectively they allow us to establish and maintain secure communications.
Most people never think about any of this. They open their browser, visit their bank, enter their credentials, and assume that their information is secure. Underneath that relatively simple experience is a significant amount of mathematics and infrastructure.

Why Is RSA Considered Secure?
RSA relies heavily on the computational difficulty of factoring large integers.
Imagine I give you two prime numbers:
p = 61
q = 53
N = p × q
N = 3233
Multiplying these two numbers is relatively easy. However, if I only give you 3233 and ask you to determine the original two prime numbers, the problem becomes more difficult.
Of course, with numbers this small, a computer can solve the problem almost instantaneously. Now imagine doing this with a number that is 2,048 bits long, which is approximately 617 decimal digits.
The security of RSA depends on the assumption that factoring sufficiently large, properly generated integers is computationally infeasible with the algorithms and computing resources available to an attacker.
Notice that I said computationally infeasible, not mathematically impossible.
I think that distinction is extremely important when we start talking about artificial intelligence.

Where I Think Artificial Intelligence Could Change Things
When people talk about AI breaking RSA, I don't necessarily envision a large language model sitting somewhere trying trillions of different passwords or private keys until it finds the correct one.
What I find significantly more interesting is the possibility that AI could help us discover mathematical relationships that we haven't previously recognized.
Consider the difference between a human researcher and an AI system augmented with retrieval-augmented generation (RAG).
If I'm working on a research problem, I might remember five or ten relevant research papers. Realistically, I probably remember one or two of them extremely well. I can spend time reading additional papers, understanding their methodologies, and determining whether their findings can be applied to my problem.
However, there is a practical limitation to how much information I can consume, retain, and synthesize at any given time.
An AI research system could potentially retrieve contextual information from hundreds, if not thousands, of research papers. It could examine mathematical proofs, compare algorithms, identify similarities between seemingly unrelated areas of research, generate hypotheses, and use computational tools to test those hypotheses.
That doesn't mean AI understands every paper perfectly. It can hallucinate, misunderstand mathematical relationships, and generate completely incorrect conclusions. However, when you combine large language models with mathematical solvers, formal verification systems, code execution, and automated experimentation, you create something considerably more powerful than a traditional chatbot.
Imagine that one researcher developed an interesting algorithm twenty years ago. Another researcher discovered a mathematical relationship ten years ago. A third researcher published an unrelated optimization technique five years ago.
Individually, none of these discoveries breaks RSA.
But what happens when an AI system identifies a relationship between all three?
What happens when it examines a hundred different algorithms and discovers that combining elements from several of them produces a substantially more efficient factoring algorithm?
That's what I find fascinating.

What If Factoring Is Actually a Polynomial-Time Problem?
One of the interesting areas of computer science is computational complexity.
We spend a considerable amount of time classifying problems based on the computational resources required to solve them. Some problems can be solved efficiently using polynomial-time algorithms, while others become increasingly difficult as the size of the input increases.
Integer factorization is particularly interesting because we have not discovered a general polynomial-time classical algorithm for solving it. However, we also haven't proven that such an algorithm cannot exist.
Integer factorization is not known to be NP-complete, and discovering an efficient factoring algorithm would not necessarily mean that we solved the P versus NP problem.
Nevertheless, what if AI helps us discover that integer factorization is actually a problem that can be solved efficiently on classical computers?
What if the mathematical relationship has always existed, but we simply haven't discovered it?
Alternatively, AI might discover an algorithm that isn't polynomial time but is still significantly faster than our existing factoring algorithms. Depending on the improvement, that alone could have substantial security implications.
The interesting thing about this scenario is that we wouldn't necessarily need more powerful hardware. We might simply need a better understanding of the underlying mathematics.
That is where I think artificial intelligence could potentially change our understanding of cryptography.

What Would Happen If RSA Were Broken?
Our lives are considerably more digital than they were twenty or thirty years ago.
We access banking websites, healthcare systems, government services, payment processors, and employment platforms. We provide Social Security numbers, financial information, medical records, and other extremely sensitive information over the internet.
A practical mathematical break of RSA would have implications far beyond simply updating a web browser.
Depending on how RSA is being used, an attacker could potentially impersonate trusted systems, forge digital signatures, recover private keys, or decrypt information protected using vulnerable RSA-based encryption mechanisms.
However, not every encrypted connection would automatically become vulnerable. Modern TLS implementations frequently use ephemeral Diffie-Hellman key exchanges, which provide forward secrecy. Even if RSA is used to authenticate a server, recovering its RSA private key would not automatically allow an attacker to decrypt previously recorded sessions that used a secure ephemeral key exchange.
Nevertheless, the ability to forge RSA signatures or impersonate trusted systems would still be a significant problem.
We would need to identify where RSA is being used, determine what security properties depend on it, replace affected certificates and keys, and migrate systems to alternative algorithms.
And that's where things become extremely complicated.
The Infrastructure Problem
One of the challenges of working in cybersecurity is that identifying a vulnerability and actually remediating it are two completely different problems.
We saw this with Heartbleed in 2014. Heartbleed was not a mathematical break of RSA. It was an implementation vulnerability in OpenSSL. Nevertheless, it demonstrated how disruptive a vulnerability in widely deployed cryptographic infrastructure could be.
Now imagine discovering that the underlying mathematics of a widely deployed cryptographic algorithm is no longer secure.
Updating a modern web application might be relatively straightforward. You update your cryptographic libraries, change your configuration, rotate your certificates, and redeploy your application.
But what about an IoT device that was manufactured fifteen years ago?
What about industrial equipment, embedded systems, satellites, telecommunications infrastructure, medical devices, automotive systems, or hardware security modules?
Some of these systems have cryptographic algorithms embedded directly into their firmware or hardware. Some are no longer supported by their manufacturers. Others cannot be updated without significant downtime or physical replacement.
In cybersecurity, we often focus on websites, applications, and servers. However, cryptography is used across a much larger ecosystem of electronic devices and communication systems.
The mathematics might be broken overnight, but replacing the infrastructure could take years.
This is why I think cryptographic agility, the ability to replace cryptographic algorithms without completely redesigning a system, will become increasingly important.
What About Quantum Computing?
This conversation also reminded me of some of the research I've reviewed surrounding quantum computing.
Traditional computers represent information using bits, which have a value of either zero or one. Quantum computers use qubits, which can exist in superpositions of quantum states.
At first glance, this sounds like an incredible solution to computationally difficult problems. Instead of examining possibilities individually, quantum systems can manipulate superpositions representing many possible computational states.
However, there is an important limitation: we cannot simply extract every possible answer from a quantum computer.
Imagine that you have a house, but you've lost your key. Now imagine that you have a magical box capable of representing every possible key that could fit your lock.
Having a box that represents millions of possible keys is impressive, but it doesn't automatically tell you which key opens your door.
If you still have to remove each key individually, put it into the lock, and test whether it works, you haven't necessarily solved your problem.
Quantum computing has a somewhat analogous challenge. The power comes not simply from representing many possibilities, but from designing algorithms that manipulate quantum states so that useful answers can be extracted through measurement.
Quantum interference allows certain computational paths to reinforce one another while others cancel out.
Shor's algorithm is particularly relevant because it provides a polynomial-time quantum algorithm for integer factorization. In theory, a sufficiently powerful, fault-tolerant quantum computer running Shor's algorithm could undermine RSA.
Importantly, such a computer would not need to communicate with a certificate authority or repeatedly send requests to a website. The mathematical computation could occur offline using publicly available information.
The practical limitations instead involve the number of reliable qubits, quantum error correction, circuit depth, computational resources, and the ability to maintain quantum states long enough to complete the computation.
I still think quantum computing is fascinating, but I don't think we should confuse its theoretical capabilities with what current hardware can practically accomplish.
Could AI Also Help Us Build Better Cryptography?
Another interesting aspect of this conversation is that artificial intelligence doesn't necessarily benefit only the people trying to break cryptographic algorithms.
The same technology that helps researchers identify weaknesses could also help researchers develop new mathematical constructions, analyze cryptographic assumptions, verify security proofs, and design more efficient cryptographic systems.
Perhaps AI helps us discover that a problem we previously considered computationally difficult is actually relatively easy.
But perhaps it also helps us discover new mathematical problems that are considerably more resistant to both classical and quantum attacks.
We are already seeing research into post-quantum cryptography, including lattice-based, hash-based, and other cryptographic constructions designed to withstand attacks from quantum computers.
There is also fascinating research into homomorphic encryption, which allows certain computations to be performed on encrypted information without first decrypting it. Although homomorphic encryption addresses a different problem, it is another example of how advances in mathematics can fundamentally change what we consider possible in computer science.
AI could potentially accelerate research across all these areas.
My Final Thoughts
Do I think artificial intelligence has already broken RSA-2048?
As of December 3, 2026, there is no publicly verified evidence that it has.
Do I think artificial intelligence could eventually contribute to a mathematical breakthrough that undermines RSA?
Absolutely. Whether that happens in the near future is considerably more difficult to predict.
What interests me isn't necessarily the idea that AI can perform more computations than a human. We've had computers that can perform calculations faster than humans for decades.
What interests me is the possibility that AI can connect knowledge across thousands of research papers, mathematical disciplines, and decades of scientific discoveries in ways that individual researchers might never consider.
Perhaps the next major breakthrough in cryptography won't come from building a larger computer.
Perhaps it will come from discovering that we've been approaching a mathematical problem incorrectly for the last fifty years.
And if that happens, the implications will extend far beyond RSA, cybersecurity, or even computer science.
It could fundamentally change how we approach scientific research itself.