AI threatens part of internet encryption
The NSA asks to change with urgency a part of the encryption that protects our communications, but it does not explain what has been broken
-
CAT -
CAST
BarcelonaWhen we check our bank account or send a private message, our mobile phone or computer encrypts the information, transforming it so that only the recipient can read it. This week, the US government warned that some of the systems that do this no longer offer sufficient guarantees and must be replaced immediately.
The warning was issued on Wednesday by the US National Security Agency (NSA), which is responsible for electronic espionage and protecting the government's sensitive communications. According to the agency, leading artificial intelligence (AI) companies have revealed discoveries to it that affect some cryptographic systems in use, but it does not identify either the systems or the authors.
How encryption works
Cryptography is the discipline that allows for storing and transmitting secrets. For centuries, whoever wanted to send an encrypted message had to agree on a key with the recipient beforehand, but that is a step we cannot take every time we make a purchase on an unknown website. The solution, developed in the seventies, is public-key cryptography. Each user has two related keys: a public one, which serves for anyone to encrypt a message for them, and a private one, which is the only one that allows it to be decrypted and which is not shared. The same principle allows for digital signatures, with which we verify that a phone update really comes from the manufacturer.
The security of the system depends on mathematical operations that are easy to perform and very difficult to undo. A computer can easily multiply two huge prime numbers, but recovering them from the result may require an unfeasible amount of time. The most widespread systems are RSA and elliptic curves, and they are based on challenges of this kind. No one has proven them to be unsolvable, but for decades, no viable shortcut has been found.
A change that was already expected
That these systems had an expiration date was already known. A sufficiently powerful quantum computer, which takes advantage of the laws of particle physics to perform certain calculations, could solve those problems much faster than current machines. The mathematician Peter Shor already described in 1994 how it could be done. These machines are not ready yet, but governments and companies have been preparing the answer for years. In March, Google calculated that breaking elliptic curve encryption would require fewer resources than expected and has set 2029 as the deadline to complete its own migration.
The answer is called post-quantum cryptography: methods that work on ordinary computers and are based on problems that, predictably, would also resist quantum ones. The US National Institute of Standards and Technology (NIST) approved the first standards in 2024, and in June a Donald Trump decree set the years 2030 and 2031 as the deadline for essential parts of the change in critical federal systems. Such urgency has an explanation: an adversary can intercept and store encrypted communications today and read them when they have the appropriate tool. This strategy is called harvest now, decrypt later (harvest now, decrypt later).
AI, the unexpected threat
However, the risk no longer depends solely on quantum computing, because AI has begun to solve mathematical problems that specialists had been stuck on.
The same Wednesday, the NSA, the Cybersecurity and Infrastructure Security Agency (CISA), and the White House made a more restrained statement, according to which these advances do not represent an immediate and widespread threat. The next day, the British National Cyber Security Centre (NCSC) confirmed that the finding is new and valid and that it affects algorithms in use. Some specialists reconcile the two messages: the danger is real, but only within the reach of actors with many resources.
Which system has failed? Some cryptographer deduces from the NSA's recommendations that it could be a widely used variant of elliptic curves, but other experts argue that this conclusion cannot be drawn. There is also no public proof of the rumors according to which an AI has broken RSA.
The reaction of the digital giants
In an unusual display of consensus, Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle have signed a two-sentence text that supports their government and calls for accelerating the migration. The CEO of Cloudflare, which protects and distributes nearly 30% of websites, has acknowledged that they have been informed of something serious, without specifying who or what it is about. His company has moved up the goal of completing the change from 2029 to 2027.
Missing from the list are Meta, owner of WhatsApp; Signal, known for encrypted messaging, and Nvidia, the benchmark for AI chips. SpaceX is also not there: Elon Musk has alleged that he had overlooked the request. It should be said that not signing is not equivalent to doing nothing. According to the Electronic Frontier Foundation (EFF), a digital rights advocacy organization, current versions of Signal and Apple's iMessage already use post-quantum encryption. WhatsApp does not have it yet, but Meta has confirmed that it is deploying it.
Mind you, the role of the NSA also raises suspicions. The leaks by Edward Snowden in 2013 fueled the suspicion that the agency had introduced a deliberate weakness into a cryptographic standard. This time it recommends strengthening protection and admits, after years of reluctance, hybrid solutions, which combine a classic system and a post-quantum one: if one fails, the other continues to protect the information.
And Europe?
Brussels has reacted quickly. On Thursday, Thomas Regnier, spokesperson for the European Commission, stated that the Union shares the NSA's concern. The community calendar, agreed upon in June 2025, provides that all member states must have started the transition before the end of 2026 and that high-risk uses, such as critical infrastructure, must be protected by the end of 2030 at the latest. In July, the European Central Bank had already asked large banks for plans against AI-powered cyberattacks, and announced another letter regarding quantum computing.
In Germany, the Federal Office for Information Security (BSI) calls for a rapid and consistent change, although it does not see an immediate and large-scale danger. Its president warns that, for now, it is almost impossible to make a definitive risk assessment.