We can no longer ignore the AI and quantum threat and must urgently switch to post-quantum cryptography, which is resistant to the ultra-powerful quantum computers that are on their way, as I warned in my previous column.
Read the original opinion piece in De Tijd here (in Dutch)
The ink was barely dry before rumours began circulating that AI had indeed been successfully used to attack the cryptographic building blocks that we use to secure the data of our digital lives. Even respected media outlets such as the Financial Times speculated about what it might involve.
On Wednesday, the US security agency NSA suddenly recommended accelerating the transition to post-quantum cryptography after AI companies had informed the government of discoveries that threaten our cryptographic systems. Half a day later, Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle endorsed the NSA’s call in a joint statement.
They may be aware of better attacks on current cryptography. These could be classical attacks, but I would rather bet on quantum attacks, with a greater impact than Monday’s previously theoretical breakthrough, when Anthropic announced that it had uncovered a theoretical weakness in post-quantum cryptography.
This caused quite a stir, but once it became clear that exploiting this weakness would require so much computing power that even future quantum computers would likely be unable to make much use of it, calm returned. If it now turns out that a much smaller quantum computer is sufficient to break the current mathematics behind encryption, the point at which intercepted communications can be decrypted comes a great deal closer.
Hash functions
I have not yet seen much coverage in the press of another development that could affect security. On 16 November, mathematician Omer Goldzweig published a discovery he had made using commercially available AI. It concerned the widely used SHA-256 hash function.
Ann Dooms
Hash functions convert texts of arbitrary length into special fixed-length codes by repeatedly transforming the input, effectively erasing the relationship between the original text and the final hash. A small change to the text also produces a completely different code. Because there are far more possible texts than codes, different texts can produce the same hash. However, finding such collisions or deriving a matching text from a hash has until now been considered infeasible.
When storing passwords, for example, only the hash of the password is retained. When you log in, your password is hashed again and compared with the stored hash. Perhaps you recently received emails from well-known clothing and shoe retailers informing you that they had suffered a digital breach? Customer data may have been leaked, but your password remained protected. Thanks to hashing.
Hashes also play a crucial role in digital signatures. When you digitally sign a contract, the hash of the content is signed along with your private key. Anyone can verify the signature using your public key. Changes to the contract render the signature invalid as long as the hash continues to do its job. Blockchain technology, on which cryptocurrencies such as bitcoin rely, also makes extensive use of hashes, including SHA-256.
Goldzweig has now nevertheless succeeded in finding a collision: two different messages that, although they did not go through all 64 transformations, produce the same SHA-256 output. He did not need a quantum computer to do so.
Mathematicians back in the spotlight
For now, the full hash function remains secure. But what if the AI companies have managed, using their more powerful closed models, to further exploit the weakness discovered by Goldzweig? That could have an immediate impact, for example on the digital integrity of documents, software and financial systems.
For the moment, this remains speculation. But did you really think that AI companies were simply interested in solving famous mathematical problems? They were able to convince investors and, quite possibly, the US government that they could also investigate the complex mathematical problems on which our digital security depends. And now they seem to have found their first real killer application.
As a result, we may once again find ourselves looking to mathematicians to stay one step ahead of the AI hacker.
BIO
Ann Dooms is Professor of Mathematics at the Vrije Universiteit Brussel