Cryptography is doomed, and your passwords are also done for.
For a period of time, a piece of news alarming enough to unsettle global banks, tech giants and government agencies has spread across all sectors like a ghost:
AI may have already found a mathematical shortcut to crack modern cryptography.
Back in early October, when OpenAI released 722 mathematical manuscripts at one go, renowned computer scientist and quantum computing expert Scott Aaronson keenly noticed that one critical field was conspicuously absent from the manuscripts: cryptography.
As the saying goes, there must be a hidden reason for any abnormal phenomenon. By late November, a rumor spread rapidly in the industry — "Leading AI labs may have mastered a certain algorithm that can break part of the public-key cryptosystem within a reasonable time."
On November 29, a user reposted the rumor that "a cutting-edge lab has cracked 2048-bit RSA" on X. Musk, who is always good at creating hot topics, left a thought-provoking reply below: "I've heard this from several people", pushing the anxiety of "cryptography doomsday" to the top of trending searches.
Faced with the growing speculations, Aaronson posted consecutive articles on his personal blog to cool down the hype: He confirmed from multiple reliable sources that AI labs do have a heavyweight breakthrough in the field of theoretical cryptanalysis, but it is far from the level of directly threatening the active cryptosystem, and the outside world has exaggerated the facts too much in layers of relaying.
Even so, the academic circle has sounded the alarm in advance. 21 cryptography experts including Dan Boneh from Stanford University and Vinod Vaikuntanathan from the Massachusetts Institute of Technology have formed an independent Cryptography Incident Review Group (CIRG) under personal identities, dedicated to studying how to disclose cryptography breakthroughs responsibly, notify affected institutions, and formulate response plans for potential crises.
Figure | List of CIRG members
In the AI industry, people have long been tired of all kinds of grand narratives about AGI. But this time, the shock has directly spread to the foundation of the digital life we are accustomed to.
The digital world is built on just a few difficult problems
The trigger for this panic stems from the successive heavyweight breakthroughs AI has made in the field of pure mathematics.
On November 20, Anthropic mathematician Levent Alpöge announced that he had completed the proof of the Riemann Hypothesis in cooperation with Claude, and released the corresponding Lean formal verification code, which was highly recognized by the Lean and Mathlib communities.
The Riemann Hypothesis, born in 1859 and with a $1 million reward, discusses the distribution law of prime numbers.
And prime numbers happen to be an important cornerstone of modern cryptography.
The RSA cryptosystem, born in 1977 and guarding half of the Internet to this day, is essentially a prime number calculation game.
For example: Calculating 13 multiplied by 17 equals 221 is no problem for mental arithmetic; conversely, if you are only given 221 and asked to find out which two prime numbers are multiplied to get it, it will take more effort.
When this number expands to hundreds of digits, forward multiplication is still easy with the help of computers, but reverse decomposition is extremely difficult.
This calculation cost difference of "extremely easy in one direction and extremely difficult in the reverse direction" constitutes the underlying logic of modern public-key cryptography, and is also the starting point for the Internet to build trust.
It sounds very abstract, but in fact it is only one step away from every time you go online — The HTTPS encryption logo you see in the browser address bar every day, commonly known as the "little green lock" (replaced by a gray small lock or shield icon in some browsers), has RSA as one of its core principles behind it.
When you open online banking, e-commerce websites or webmail, the website will present a digital security certificate issued by a trusted authority (CA) to the browser, proving that the page in front of you is indeed the real bank and has not been tampered with by hackers.
On the global Internet, a large number of website certificates and the "anti-counterfeiting seals" of upstream trusted authorities are still signed using the RSA algorithm to this day.
Once RSA is completely cracked, attackers can forge anti-counterfeiting certificates, resulting in no red warning of "Your connection is not private" when accessing fake websites.
The accounts, passwords and verification codes you enter unconsciously will flow continuously to hackers' computers.
In addition to the HTTPS certificate system that supports the "little green lock", the severely affected areas that highly rely on RSA also include SSH remote server authentication, software code signatures for computers and mobile phones, and a large number of legacy systems of banks, government and enterprise institutions.
Over the past 30 years, the cryptography community has always believed that only quantum computers can end RSA. However, to build a large-scale quantum computer that is stable enough and has fault tolerance capabilities, the hardware engineering challenges are still not to be underestimated.
But the sudden entry of AI has changed everything.
If AI can find shortcuts on classical mathematical algorithms, there is no need to wait for quantum computing hardware to mature, and existing ordinary computers can shake the foundation of the old cryptosystem.
This concern is not groundless: AI has already started to knock on the door of cryptography directly.
In September this year, Anthropic engineer Steve Weis used idle computing power in the data center to brute-force crack the 896-bit RSA key, refreshing the record for large integer factorization at one stroke; on November 25, Google Research also made public 6 mathematical preprints generated by the AI scientific research system Cogentic, 3 of which directly target the problems of large integer factorization and discrete logarithms in finite fields.
Figure | Steve Weis shares the results of cracking RSA-896
Of course, we don't have to fall into doomsday panic. Even if cracks really appear in RSA, the entire Internet will not shut down on the same day.
On the one hand, many core applications of the modern Internet have long adopted alternative solutions and do not use RSA at all —
For example, Bitcoin that runs on elliptic curve cryptography and hash algorithms, Signal and WhatsApp that use elliptic curve protocols, and iMessage from Apple which has been upgraded to the post-quantum protocol PQ3, all of their security has nothing to do with large integer factorization; even a large number of newly built modern websites are migrating their certificates from RSA to the more lightweight elliptic curve algorithm (ECDSA).
Figure | TechCrunch
On the other hand, we are still a long way from practical cracking.
The proof of the Riemann Hypothesis is formally a different problem from cracking RSA; the 896-bit RSA cracked by Anthropic in September is still exponentially far away from the mainstream 2048-bit RSA on the Internet.
What is really both exciting and disturbing is the paradigm shift behind it: Those mathematical peaks that have stood in front of the top human minds for more than a hundred years are successively entering the range of AI.
What will happen if mathematics fails?
Just three days after the proof of the Riemann Hypothesis was released, on November 23, Anthropic and OpenAI successively announced the proof of the algebraic complexity problem VP≠VNP within just four hours.
The successive mathematical breakthroughs have completely changed Scott Aaronson's expectation for the number one Millennium Prize Problem in computer science — the P vs NP problem. He exclaimed on his blog: "For the first time in my life, I feel from the bottom of my heart that the proof of P≠NP is not far away."
P vs NP asks a seemingly simple question: If the answer to a problem is easy to verify, can the process of finding the answer be equally easy?
Just as solving a difficult Sudoku may require repeated trial and error for hours, checking a completed Sudoku is much easier. Modern cryptography survives precisely because of this asymmetric property of "extremely difficult to solve, extremely easy to verify".
Faced with the chip computing power that is speeding up in accordance with Moore's Law, the reason why the defending side can handle it with ease is entirely due to the reliability of this underlying mechanism: computing power can only grow linearly, but if you extend the key length, the cost of brute-force cracking will increase exponentially, which is enough to block brute force attacks.
But the emergence of AI scientific research agents is shaking the most fundamental mathematical foundation.
Once AI finds an algorithm that can bridge the asymmetry between solving and verification and can run under real computing conditions, the identity authentication, financial transaction and software distribution mechanisms built on old assumptions will all be in jeopardy.
It is quite ironic that when rumors of cryptography breakthroughs spread, the established password management tool 1Password also happened to disclose a security incident: attackers hacked into employees' GitHub accounts, infiltrated some internal systems, and stole some users' names, emails and account metadata.
Fortunately, users' password vaults and encryption keys are safe and sound.
Figure | SOCRadar
This episode is not directly related to AI solving mathematical problems, but it properly reminds us that Internet security threats have always fallen into two levels:
The long-term worry at the bottom is mathematics. Whether it is the upcoming quantum computer or the advancing AI mathematical discovery capability, resolving systemic risks can only rely on cryptographers and technology giants joining hands to promote underlying migration.
But the immediate near-term trouble comes from human negligence. It will not happen overnight for AI to truly solve the 2048-bit large integer factorization, but AI has already empowered phishing emails, deepfake voices, automated credential stuffing and precise social engineering attacks on a large scale. Before using advanced number theory, the vast majority of security defenses have already fallen due to human's own negligence.
Say goodbye to passwords before the doomsday comes
In a sense, the biggest enemy of cryptography has always been lazy humans.
At the end of each year, cyber security agencies such as NordPass will release an annual "Silliest Password Selection" list, and the top of the list is always those old familiar ones: 123456, admin, 12345678, password... In the face of modern computing power, cracking these passwords takes less than a second.
However, ordinary people, facing dozens or hundreds of online accounts, will inevitably reuse one password for multiple accounts and set simple passwords for convenience.
Considering how easy automated credential stuffing and stealing SMS verification codes are, the traditional password system has actually come to an end — the only reason we haven't been attacked is that we haven't been targeted yet.
This is the real motivation behind Apple, Google and Microsoft's joint push for Passkey in recent years.
It should be noted that Passkey cannot be immune to the ultimate assumption of "AI cracking public-key cryptography" mentioned earlier, because its underlying layer also runs on public-key cryptography at present. If the public-key system is completely breached in the future, Passkey will also need to upgrade its algorithm.
Even so, fully switching to Passkey in the AI era is still of great significance.
Figure | Tom's Hardware