跳到主内容
@wquguru
精选75Cloudflare 博客(RSS)行业动态多源精选 ×3

Cloudflare:Anthropic后量子密码研究未影响部署安全

Post-quantum cryptography is still safe

原文
发到 X

On November 30, Anthropic published several math papers about lattice-based cryptography. The main paper uncovers new strategies that may help tackle the lattice-based math problems that underpin widely used post-quantum cryptography algorithms, ML-DSA and ML-KEM. This research is purely theoretical, and does not impact the security of deployed cryptosystems. Your encrypted data and Internet connections are still safe, and so is your infrastructure protected by Cloudflare.

11月30日,Anthropic 发布了数篇关于基于格密码学的数学论文。主论文揭示了新的策略,这些策略可能有助于解决支撑广泛使用的后量子密码算法 ML-DSA 和 ML-KEM 的基于格的数学问题。这项研究纯属理论性质,不会影响已部署密码系统的安全性。您的加密数据和互联网连接仍然安全,由 Cloudflare 保护的基础设施也同样安全。

We remain committed to swiftly upgrading the Internet to post-quantum cryptography: we began our migration in 2019, enabled post-quantum encryption for all websites and APIs in 2022, and as of the date of this post, 73% of human traffic to Cloudflare is post-quantum encrypted.

我们仍致力于迅速将互联网升级至后量子密码学:我们于 2019 年开始迁移,在 2022 年为所有网站和 API 启用了后量子加密,截至本文发布之日,流向 Cloudflare 的人类流量中有 73% 已采用后量子加密。

Anthropic’s research comes amidst a flurry of rumors around the reliability of virtually all cryptography we depend on, from RSA to elliptic curve cryptography to lattices. However, nothing indicates a practical threat. Anthropic's cryptanalysis work is part of a longstanding tradition of research that strengthens confidence in cryptographic systems.

Anthropic 的研究发表之际,围绕我们所依赖的所有密码技术(从 RSA 到椭圆曲线密码学再到格密码)可靠性的谣言四起。然而,没有任何迹象表明存在实际威胁。Anthropic 的密码分析工作是长期以来的研究传统的一部分,旨在增强人们对密码系统的信心。

AI-assisted research accelerates the rate at which we find attacks. New, AI-assisted methods in cryptographic research, when paired with responsible disclosure, helps the industry find and address potential risks faster than malicious actors.

AI 辅助研究加速了我们发现攻击方法的速度。在密码研究中,新的 AI 辅助方法与负责任披露相结合,有助于行业比恶意行为者更快地发现和应对潜在风险。

In today’s post, we’ll dig into what we know so far about the results and explain why we remain confident that the core mathematical techniques behind lattice-based, post-quantum cryptography standards remain robust.

在今天的文章中,我们将深入探讨目前所知的研究成果,并解释为何我们依然确信,基于格的、后量子密码标准背后的核心数学技术依然稳健。

The main result: theoretical quantum solvers of lattice problems

主要成果:用于求解格问题的理论量子求解器

Anthropic's research describes quantum algorithms for solving problems behind the ML-KEM encryption and ML-DSA signature scheme’s security, namely Module-LWE (learning with errors) and Module-SIS (short integer solutions). These are computational problems over math structures called lattices, which you can learn more about in our beginner’s guide. An efficient solver for Module-LWE or Module-SIS would undermine ML-DSA’s security, while ML-KEM only relies on Module-LWE.

Anthropic 的研究描述了用于求解 ML-KEM 加密和 ML-DSA 签名方案安全性背后问题的量子算法,即模块学习误差(Module-LWE)和模块短整数解(Module-SIS)。这些是在称为格(lattices)的数学结构上进行的计算问题,您可以在我们的入门指南中了解更多。能够高效求解 Module-LWE 或 Module-SIS 将会破坏 ML-DSA 的安全性,而 ML-KEM 仅依赖于 Module-LWE。

Anthropic’s research tackles the core lattice problems that mathematicians and cryptographers have been studying for decades. But there are two things that make these quantum attacks impractical, and of little relevance from a risk perspective.

Anthropic 的研究针对的是数学家和密码学家数十年来一直在研究的格问题核心。但有两点使得这些量子攻击在实际中不可行,从风险角度来看也意义不大。

First, the hardware does not exist. The algorithms require a quantum computer of humongous size, with at least billions of logical quantum bits (qubits) for a straightforward implementation. In comparison, today’s quantum computers have of the order of thousands of qubits, and a 10× to 100× scaling is necessary to break classical cryptography. Which means quantum computers are far more likely to break elliptic curves and RSA before lattices.

首先,硬件尚不存在。这些算法需要一台规模庞大的量子计算机,其至少需要数十亿个逻辑量子比特(qubits)才能实现直接应用。相比之下,当今的量子计算机仅有数千个量子比特,而要实现突破经典密码学的目标,还需要将规模扩大10倍到100倍。这意味着,在格密码之前,量子计算机更有可能先破解椭圆曲线密码和RSA。

Second, the computational runtime is difficult to fathom. Although it appears somewhat efficient from a theoretical angle, the actual speed-up only materializes at a very large scale, or asymptotically, and is impractical for realistic instances. This is known as a galactic algorithm. In the present case, executing the algorithm on parameters deployed in practice would require more resources than are available in our galaxy. It isn’t even really quasi-polynomial, but exponential, when scaling up the security level of ML-KEM and ML-DSA.

其次,计算运行时间难以估量。虽然从理论角度看似乎相当高效,但实际的加速效果仅在极大规模或渐近情况下才会显现,对于现实场景中的实例而言并不实用。这被称为“银河系级算法”(galactic algorithm)。在本例中,在实际部署的参数上执行该算法所需的资源将超过我们银河系中可用的总资源量。而且,当提升ML-KEM和ML-DSA的安全级别时,其复杂度甚至不是拟多项式级的,而是指数级的。

Specifically, attacking ML-DSA or ML-KEM using the new attack would be orders of magnitude slower than with the best known classical (non-quantum) attacks. Based on the paper’s estimates, the actual complexity to attack ML-DSA would be of the order of 2x, for values of x greater than a thousand, whereas the target security level is 2128 for the smaller ML-DSA instance.

具体而言,使用这种新攻击方法攻击ML-DSA或ML-KEM的速度将比目前已知最好的经典(非量子)攻击慢几个数量级。根据论文中的估算,攻击ML-DSA的实际复杂度约为2^x量级,其中x大于1000,而较小规模的ML-DSA实例的目标安全级别为2^128。

From a broader perspective, the results of this paper are exciting for their novel mathematical techniques, which apply techniques from different fields in a new context. It could mark the start of a wave of AI-assisted research into applying quantum algorithms towards lattice problems, and may eventually drive implementation-level optimizations similar to the semi-autonomous advances on discrete logarithm circuits (the hard problem underlying elliptic curve cryptography).

从更广泛的视角来看,这篇论文的结果因其新颖的数学技术而令人振奋,这些技术在新背景下融合了不同领域的技巧。这可能标志着利用人工智能辅助研究、将量子算法应用于格问题的浪潮开端,并最终推动类似离散对数电路(椭圆曲线密码学所基于的难题)上出现的半自主式进展那样的实现层面优化。

Understanding the impact of AI on cryptography

理解人工智能对密码学的影响

One way to think of modern AI systems is as aggregators of human knowledge. From Navier-Stokes to the Riemann Hypothesis, what we have seen AI do best is connect dots between different research communities. No human can read every math or cryptography paper, but AI can; and this will allow us to uncover ideas we didn't know were there.

看待现代人工智能系统的一种方式是将它们视为人类知识的聚合器。从纳维-斯托克斯方程到黎曼猜想,我们看到人工智能最擅长的是连接不同研究社区之间的知识脉络。没有人能阅读所有的数学或密码学论文,但人工智能可以;这将使我们能够发现那些我们原本未曾察觉的想法。

AI-assisted research will push the state of the art in cryptanalysis, improving known attacks and discovering new ones. Over time, more research reinforces the confidence in our cryptosystems. But unlike in software security, the adage “it will get worse before it gets better” may not apply.

AI辅助的研究将推动密码分析领域的最新进展,改进已知攻击并发现新的攻击。随着时间的推移,更多的研究将增强我们对密码系统的信心。但与软件安全不同,“在变好之前会先变糟”这句格言可能并不适用。

We believe there are computationally hard problems that we can rely on to build cryptography out of reach by any attacker, quantum or not. In particular, Anthropic's results don't indicate a fundamental flaw in ML-KEM or ML-DSA. AI-assisted cryptanalysis may shave off a bit of security, but standards are deliberately chosen with security margins to withstand the test of time and improved attacks. If a cryptosystem is fundamentally secure, no AI or quantum computer will ever break it.

我们相信存在计算上困难的问题,我们可以依赖这些问题来构建任何攻击者(无论是经典还是量子)都无法触及的密码学。特别是,Anthropic的结果并未表明ML-KEM或ML-DSA存在根本性缺陷。AI辅助的密码分析可能会略微削弱安全性,但标准是故意选择具有安全余量的,以经受住时间的考验和改进的攻击。如果一个密码系统在根本上是安全的,那么没有任何AI或量子计算机能够破解它。

AI doesn’t change whether a cryptographic system is secure. It changes how quickly we understand its exact security level, against classical and quantum attacks.

AI不会改变密码系统是否安全的事实。它改变了我们理解其确切安全级别的速度,包括针对经典和量子攻击的安全级别。

An exciting future for lattice cryptography research

格密码学研究令人兴奋的未来

Finally, we’d like to mention Anthropic’s other contributions, which include encouraging results for lattice-based cryptography:

最后,我们要提到Anthropic的其他贡献,其中包括对基于格的密码学的鼓舞人心的结果:

  • Better foundations for the LWE and SIS problems, with a more accurate description of their connection with worst-case lattice problems.
  • Faster algorithms for other lattice problems, which do not extend to the current post-quantum crypto standards.
  • Foundations for constructing cryptographic primitives, including:
  • Fully homomorphic encryption, an advanced cryptosystem that allows computing on encrypted data with several promising applications.
  • Publicly deniable encryption, a form of encryption that does not fully bind ciphertext to a plaintext.
  • Attribute-based encryption, from lattices. We used a pre-quantum version of this system in an early version of our regionalization services.
  • Indistinguishability obfuscation, a sort of "holy grail" cryptographic primitive, mainly of theoretical interest.
  • LWE和SIS问题更好的基础,更准确地描述它们与最坏情况格问题的联系。
  • 其他格问题的更快算法,这些算法不适用于当前的后量子密码标准。
  • 构建密码原语的基础,包括:
  • 全同态加密,一种先进的密码系统,允许在加密数据上进行计算,并具有多种有前景的应用。
  • 公开否认加密,一种不完全将密文绑定到明文的加密形式。
  • 基于格的属性基加密。我们在区域化服务的早期版本中使用了该系统的预量子版本。
  • 不可区分混淆,一种类似于“圣杯”的密码原语,主要具有理论兴趣。

These results just dropped, and it will take some time for experts to properly unpack them. So far they appear to constitute a significant step forward in cryptanalysis that will undoubtedly influence future attacks and new cryptosystems alike.

这些结果刚刚发布,专家需要一些时间来充分解析它们。到目前为止,它们似乎构成了密码分析领域的重要进步,无疑将影响未来的攻击和新密码系统。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →