Cloudflare 解讀 Anthropic 的研究:後量子加密目前仍安全
Post-quantum cryptography is still safe
Anthropic 發表的數學研究提出新方法,嘗試破解支撐 ML-KEM 和 ML-DSA 的格問題,讓人擔心現有加密是否安全。
- Cloudflare 說,這些方法目前只是理論研究,實際運作需要至少數十億個邏輯量子位元。
- 現有量子電腦只有數千個,而且用來攻擊實際使用的引數時,所需運算量遠超可用資源。Cloudflare 因此認為,這項研究尚未構成實際威脅,也沒有顯示 ML-KEM 或 ML-DSA 有根本缺陷。文中並提到,截至文章發布時,Cloudflare 73% 的人類流量已使用後量子加密。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
Cloudflare將新量子演演算法的理論成果,和實際攻擊所需的硬體與運算量放在一起比較,說明目前為何認為現行後量子加密仍安全。
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.
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.
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.
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.
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’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.
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.
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.
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.
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.
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.
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.
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:
- 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.
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.