Science

AI Hasn’t Cracked Encryption Yet. But it’s getting close.

Over the Thanksgiving long weekend, rumors spread on social media that artificial intelligence technology developed by Anthropic, a leading AI company, had broken an encryption algorithm designed to protect the world’s secrets.

Soon, rumors spread and about a dozen cryptographers started what they called the Cryptography Incident Review Group, or CIRG, saying they would help the world deal with potential problems.

Then the online discussion reached a fever pitch. Elon Musk, SpaceX founder and CEO, said on social media that he had heard from “several people” that one of the leading AI labs had cracked the encryption method, known as 2048-bit RSA, which is widely used to protect bank accounts, cryptocurrency wallets, password locks and many other common consumer services.

Amid the rumors, Anthropic’s stock price rose 15 percent.

On Monday evening, Anthropic reduced much of the speculation and announced that its AI technology had discovered a weakness in a special type of encryption designed to protect data from attacks by powerful quantum computers. But this weakness, the company said, was only theoretical. It had no practical effect on today’s security systems.

What is really going on with all this? Here is the guide.

An encryption algorithm is a complex piece of math that companies, governments and individuals can use to hide private information, including state secrets, medical records, emails, messages and more. This includes mathematical “keys” that can “lock” and “unlock” sensitive information.

“Secure cryptography is designed for difficult mathematical problems,” said Daniel Micciancio, a professor of computer science at the University of California, San Diego, who is among those who created CIRG “You can find a solution to these problems, but not without taking a very long time.”

With an algorithm like 2048-bit RSA, which is used to encrypt online banking data, that “very long time” extends to many millions of years.

When you use the Internet, you use encryption. When you visit a website – say, an email service or a shopping site – a small padlock often appears next to its address. That lock indicates that your web browser has encoded the information being sent to or from the site.

The keys that unlock the data are generated, exchanged and used behind the scenes. Your web browser includes these keys, so they are not required.

Encryption algorithms also help protect information flowing through private messaging apps like WhatsApp and Signal, video streaming through meeting apps like Zoom, data stored inside large businesses and money stored in digital currencies like Bitcoin.

“Cryptography is used in all of our digital lives,” said Chris Peikert, a professor at the University of Michigan who is also a CIRG member.

Over the past year, leading AI technologies have become very good at solving complex mathematical problems. In early September, an unreleased program developed by OpenAI, Anthropic’s arch-rival, cracked the million-dollar problem that had bedeviled the world’s leading mathematicians for decades.

In similar ways, these AI systems can also find faster ways to solve problems that support encryption techniques and identify other weaknesses in these algorithms. In July, Anthropic said the company’s researchers used some of its AI technology to “weaken” the defenses of two different encryption algorithms: one called “round-reduced AES” and another called “HAWK.”

No. In fact, it is not even used in the real world. Both are still being developed and tested by cryptographic experts.

HAWK is what scientists call “post-quantum encryption.” That means it’s designed to withstand a quantum computer, a machine that hasn’t been built yet.

That is not an easy question to answer. But you can read all about it in this recent New York Times story about the race to build one. Based on the mind-bending elements of quantum mechanics – the physics of very small particles and other unusual substances – a quantum computer could, in theory, break the encryption techniques that guard many of the world’s secrets.

For the most part, these encryption methods rely on two very difficult mathematical problems. The first is based on the mathematical fact that although you can multiply two very large numbers together, even the most powerful computers in the world cannot identify those two numbers immediately after they are multiplied. The other is based on a similarly difficult problem involving a mathematical shape called the “elliptic curve.”

Scientists have shown that a quantum computer can quickly solve these mathematical problems.

“We’ve had these two encryption bases for several decades – and we know that a quantum computer can break them both,” said Dr. Peikert.

Some scientists believe they could arrive before the end of the decade or soon after. But it can take a very long time. Some say it may not happen.

However, governments and companies are already preparing for now. HAWK is among many encryption methods developed for the “post-quantum world.” Some have already been added to daily apps in anticipation of this future, although HAWK was not included.

In addition to finding weaknesses in traditional encryption algorithms, AI technology can identify problems with post-quantum algorithms, too. They can help show how a quantum computer can break these techniques — or how today’s computers can break them.

It showed that a quantum computer, in theory, can quickly solve some of the mathematical problems behind two post-quantum methods: ML-KEM and ML-DSA.

Remember, first, that quantum computers don’t exist yet (at least not in a way that would allow them to crack today’s encryption techniques).

Also, Anthropic said that the methods discovered with the help of its AI programs only work in certain flavors of ML-KEM and ML-DSA. And these flavors are not actually used in the real world.

So the biggest concern is that there is still a lot going on in the future. Anthropic also said that it could not find fast ways to attack these encryption methods with today’s computers. CIRG members say that Anthropic’s work helped develop the theoretical foundations of these writing methods.

Yes. If an AI program really does create 2048-bit RSA, many organizations will be forced to change their encryption method.

“If it was a physical attack – carried out on existing clusters or supercomputers – it would be much worse,” said Dr. Peikert, talking about large clusters of machines that drive very powerful computers. Companies and governments will have to urgently update the global telecommunications infrastructure.

And if an AI program shows that it can crack RSA, that may indicate that other encryption techniques are also vulnerable.

In the short term, it can cause many problems. But again, no one has broken 2048-bit RSA.

As experts point out, this is all just how things work in the world of encryption. Someone developed an encryption algorithm. One finds weakness. Then the world should work to improve the process.

AI has accelerated this process, but experts point out that in addition to speeding up the hunt for vulnerabilities, AI can speed up efforts to fix these vulnerabilities. Over time, they argue, things balance out. A team of Google researchers recently used the company’s AI technology to confirm – statistically prove – that the Signal protocol was indeed secure.

“Detecting attacks and stress testing cryptography is something that is always done,” said Dr. Micciancio. “AI makes this easier. Ultimately, it will help us design better cryptographic architecture. It will give us a better understanding of the mathematics behind cryptography.”


Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button