Here’s what you need to know about AI’s potential threat to encryption
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
Here’s what you need to know about AI’s potential threat to encryption
EXECUTIVE SUMMARY MIT Technology Review Explains: Let our writers untangle the complex, messy world of science and technology to help you understand what’s coming next. You can read more from the series here. A frontier lab is rumored to be sitting on a mathematical breakthrough that makes factoring large numbers far easier than previously thought. If true, this could have huge implications for encryption, data security, and geopolitics. The report sent the computer science world into a frenzy of speculation over the weekend, drawing comment from Elon Musk and warnings that financial data could be at risk. Others have urged caution in the absence of any evidence.
执行摘要:MIT 科技评论为您解读:让我们的作者为您梳理复杂且混乱的科学与技术世界,帮助您了解未来趋势。您可以在此处阅读该系列的更多内容。有传言称,一家前沿实验室掌握了一项数学突破,使得大数分解变得比之前认为的要容易得多。如果属实,这将对加密、数据安全和地缘政治产生巨大影响。该报道在周末引发了计算机科学界的疯狂猜测,不仅引来了埃隆·马斯克的评论,还引发了关于金融数据可能面临风险的警告。其他人则呼吁在缺乏证据的情况下保持谨慎。
What happened? Last week, the influential computer scientist and blogger Scott Aaronson posted that he was “virtually certain” the frontier AI labs Anthropic and OpenAI had one or more “bombshells” that could be relevant to cryptanalysis, the study of breaking codes. He said his analysis was based on multiple reliable sources. The story soon picked up steam, amplified by Elon Musk and others, and coalesced into a rumor that AI had made a breakthrough in the challenge of breaking numbers down into their smallest prime factors. For instance, the prime factors of 15 are 3 and 5. This is easy to do with small numbers, but it grows rapidly more difficult as the number gets bigger: With current technology and the best algorithm available, factoring the 617-digit numbers used in standard RSA keys would take longer than the age of the universe. That could be about to change.
发生了什么?上周,颇具影响力的计算机科学家兼博主斯科特·阿伦森(Scott Aaronson)发文称,他“几乎可以肯定”前沿人工智能实验室 Anthropic 和 OpenAI 手中掌握着一个或多个可能与密码分析(即破解代码的研究)相关的“重磅炸弹”。他表示,他的分析基于多个可靠来源。这个消息很快发酵,在埃隆·马斯克等人的推波助澜下,演变成了一个传言:人工智能在将数字分解为最小质因数这一挑战上取得了突破。例如,15 的质因数是 3 和 5。对于小数来说,这很容易做到,但随着数字变大,难度会迅速增加:以目前的技术和现有的最佳算法,分解标准 RSA 密钥中使用的 617 位数字所需的时间将超过宇宙的年龄。这种情况可能即将改变。
Why does this matter? The difficulty of factoring large numbers is the key to RSA encryption, which underpins the security of many online systems. In simple terms, it works like this: Every RSA key starts with two large secret prime numbers, which are multiplied together to create a public key. That public key can be used to lock messages, but only someone who knows the original prime numbers can unlock those messages or create valid digital signatures. Multiplying two numbers together is easy, but working backwards from the product to find them is exceptionally hard. It’s this lopsidedness that protects much online data.
为什么这很重要?大数分解的难度是 RSA 加密的关键,而 RSA 加密是许多在线系统安全的基础。简单来说,其工作原理如下:每个 RSA 密钥都始于两个巨大的秘密质数,将它们相乘即可生成公钥。该公钥可用于锁定消息,但只有知道原始质数的人才能解锁这些消息或创建有效的数字签名。将两个数字相乘很容易,但从乘积反推回原始数字却异常困难。正是这种不对称性保护了大部分在线数据。
Mathematicians make a distinction between problems that can be solved in “polynomial time”—meaning that they grow harder at a manageable and predictable rate—and those that cannot. There is already an algorithm—Shor’s algorithm—that can do factoring in polynomial time, but it requires a quantum computer that has not yet been built. Security experts have long been warning about “Q-Day”—a quantum apocalypse where encryption breaks down, online systems become vulnerable, and state secrets spill out into the public domain. There have also been rumors that state actors have been stockpiling encrypted data in the hopes that a future计算机 could crack it.
数学家区分了可以在“多项式时间”内解决的问题(意味着它们的难度以可控且可预测的速度增长)和那些无法在多项式时间内解决的问题。目前已经存在一种算法——秀尔算法(Shor’s algorithm)——可以在多项式时间内进行因数分解,但它需要一台尚未制造出来的量子计算机。安全专家长期以来一直警告“量子日”(Q-Day)的到来——那将是一场量子末日,届时加密技术将崩溃,在线系统变得脆弱,国家机密将泄露到公共领域。还有传言称,国家行为体一直在囤积加密数据,希望未来的量子计算机能够破解它们。
Factoring large numbers in polynomial time would, theoretically, mean that RSA encryption could be broken without waiting for quantum hardware to be good enough. It’s also been rumored that elliptic curve cryptography, another widely used form of encryption, could be under threat. More broadly, if AI can solve a problem like factoring in polynomial time rather than “exponential time,” it suggests that many other mathematical problems could be much more easily solvable than previously thought.
从理论上讲,在多项式时间内分解大数意味着无需等待量子硬件达到足够水平,RSA 加密就可能被破解。还有传言称,另一种广泛使用的加密形式——椭圆曲线加密——也可能受到威胁。更广泛地说,如果人工智能能够以多项式时间而非“指数时间”解决像因数分解这样的问题,这表明许多其他数学问题可能比之前认为的要容易解决得多。
Is this credible? Probably. There have been some astonishing mathematical breakthroughs in AI in recent weeks. Most notably, the Riemann hypothesis—arguably the most important unsolved problem in math—was solved by a mathematician employed by Anthropic, Levent Alpöge, in partnership with Claude. And the rumors didn’t come from nowhere: In September, an Anthropic engineer named Steve Weis used Claude to help factor a 270-digit number—although he did it not by discovering a new algorithm but by using AI to help coordinate computing capacity. Earlier this month, researchers at Google DeepMind reported that AI agents working under human supervision had found two weaknesses in 1,024-bit RSA systems. So it’s clearly something the frontier labs are putting resources behind.
这可信吗?大概率是可信的。最近几周,人工智能领域出现了一些令人震惊的数学突破。最引人注目的是,黎曼猜想(可以说是数学中最重要且未解决的问题)被 Anthropic 的数学家 Levent Alpöge 与 Claude 合作解决了。这些传言并非空穴来风:9 月份,Anthropic 的工程师史蒂夫·韦斯(Steve Weis)利用 Claude 帮助分解了一个 270 位的数字——尽管他并非通过发现新算法,而是利用人工智能协助协调计算能力来实现的。本月早些时候,谷歌 DeepMind 的研究人员报告称,在人类监督下工作的人工智能代理发现了 1024 位 RSA 系统中的两个弱点。因此,这显然是前沿实验室正在投入资源研究的领域。
What’s going on could also be something entirely unrelated to RSA encryption. Another rumor suggests that lattice-based cryptography, which has been used as a replacement for RSA in some post-quantum cryptography systems, could be under threat. How bad is this? It’s too early to tell, but there are a few reasons not to panic. Even if AI has discovered an algorithm that can solve factoring in polynomial time—and right now there’s no evidence of that beyond rumors—it doesn’t necessarily mean the algorithm will actually be able to factor large numbers quickly enough to be useful. It could still take thousands of years of computing time on the world’s best supercomputer, which—no offense—no one is going to be deploying to crack into your Instagram DMs.
正在发生的事情也可能与 RSA 加密完全无关。另一个传言称,在一些后量子密码系统中被用作 RSA 替代品的基于格的密码学(lattice-based cryptography)可能正受到威胁。这有多严重?现在下结论还为时过早,但有几个理由不必惊慌。即使人工智能确实发现了一种可以在多项式时间内解决因数分解的算法——目前除了传言外没有任何证据——这也不一定意味着该算法实际上能够足够快地分解大数以达到实用目的。它可能仍然需要在世界上最好的超级计算机上运行数千年,而——冒犯了——没有人会为了破解你的 Instagram 私信而动用这种资源。
What’s more, because of the threat posed by Shor’s algorithm, much of today’s web traffic has already switched over to post-quantum key exchange, which doesn’t rely on factoring. Large messaging platforms like iMessage and WhatsApp don’t rely on RSA either. It’s possible that AI could make breaking down the math underpinning post-quantum encryption easier too, but there’s no compelling evidence of that just yet. Finally, if the rumors are indeed true, it seems the frontier labs are being relatively responsible and not releasing the algorithm to the public.
此外,由于秀尔算法带来的威胁,当今大部分网络流量已经转向不依赖因数分解的后量子密钥交换。像 iMessage 和 WhatsApp 这样的大型消息平台也不依赖 RSA。人工智能也有可能使破解后量子加密背后的数学原理变得更容易,但目前还没有令人信服的证据。最后,如果传言属实,前沿实验室似乎表现得相对负责,并没有将该算法公之于众。
But on the other hand … This could be only the beginning. Proving that factoring can be solved in polynomial time could open the floodgates to more efficient factoring algorithms that can be run without access to huge computing power. The other foundations of cryptography could follow the same path. State-sponsored cyberattacks and hacks could become a lot easier, and we might move toward a post-security world where it’s difficult to trust that the messages you receive are coming from where you think they are. Any intelligence agency that has bee
但另一方面……这可能仅仅是个开始。证明因数分解可以在多项式时间内解决,可能会打开通往更高效因数分解算法的闸门,这些算法无需巨大的计算能力即可运行。密码学的其他基础也可能走上同样的道路。国家支持的网络攻击和黑客行为可能会变得容易得多,我们可能会走向一个“后安全”世界,在这个世界里,很难相信你收到的消息确实来自你认为的来源。任何情报机构如果已经……