Anthropic's new quantum algorithm threatens grid encryption? a16z interprets the security boundaries of zero-knowledge proofs.

CN
25 minutes ago

Author: Justin Thaler, a16z Frontier

Translation: Deep Tide TechFlow

Deep Tide Introduction: Anthropic has announced a quantum algorithm that rewrites the asymptotic complexity of certain lattice problems. Under parameters used in real-world cryptographic systems, the new algorithm is still slower than previously known quantum attacks. The risks posed by this result vary for key exchanges with long-term confidentiality requirements and zero-knowledge proofs used to verify program execution.

Justin Thaler, head of Jolt development, analyzes the relationship between parameter adjustments, signature standards, and zero-knowledge guarantees based on the lattice version of Jolt. He also explains why the team continues to develop a hash-based version and retains three pathways: elliptic curves, lattices, and hashes, leaving room for future cryptographic migration.

Anthropic announced a new quantum algorithm that can solve certain lattice problems in quasi-polynomial time. The following discussions will mainly revolve around two standards from the National Institute of Standards and Technology (NIST), namely ML-KEM for establishing shared keys and ML-DSA for digital signatures. This article discusses the impact of this attack on lattice-based proof systems, particularly its effect on Jolt.

Jolt is a zero-knowledge virtual machine (zkVM) that I have been leading the development of in recent years. It is a suite of verification engines that allows one to prove that a specified program, when run on given input, produces the claimed results.

Jolt currently has two versions, one based on elliptic curves and the other on lattices. When we introduced the lattice version of Jolt in September, we mentioned that a hash-based version would also be developed. This version is now nearing completion. We expect that the proof generation speed of the hash version will be on par with that of the lattice version, capable of proving 5 to 10 million RISC-V cycles per second using only CPU on a laptop, reaching the current leading level. The proofs of the lattice version are less than 100 KB, while those of the hash version will reach several hundred KB.

Anthropic's New Attack. These new quantum algorithms can solve certain variants of the Learning with Errors problem (M-LWE) and the Short Integer Solution problem (M-SIS). With ring dimension n and modulus rank k, the running time is roughly 2^{O((k^2 \log n+k^4)^2)}. When k is fixed, the run time of the previously best algorithms grows exponentially with n.

This marks a significant advancement in asymptotic complexity. The quantum attack resistance afforded by increasing n is much lower than we previously expected. The security of ML-KEM relies on the difficulty of M-LWE, and thus is related to the new algorithm. ML-DSA relies on both M-LWE and M-SIS, while the lattice version of Jolt only relies on M-SIS. However, for a quantum attacker, the difficulty of both problems is approximately equivalent, and an efficient quantum algorithm for either problem can be used to solve the other.

So what changes will Anthropic's quantum attack bring to users of the lattice version of Jolt today? Currently, there are no quantum computers capable of executing this attack. Even if there were, under the n and k parameters used in practical cryptographic schemes, the resources required by this algorithm would still be unrealistically high, and the time required would far exceed previously known quantum attacks. Therefore, the best estimate of the lattice version of Jolt's ability to withstand quantum attacks remains unchanged, as does that for ML-KEM and ML-DSA.

Anthropic also reported that no better classical attacks against mainstream lattice-based cryptosystems were found. This bolsters my confidence in the classical security of the lattice version of Jolt. The paper also presents a stronger hardness reduction for the unstructured variants of SIS and LWE, which correspond to M-SIS and M-LWE, respectively, enhancing our confidence in cryptography based on unstructured lattices. A stronger reduction and the lack of better attacks are good news for unstructured lattices. The new quantum attacks raise concerning signals for the long-term quantum resistance of lattice schemes like the lattice version of Jolt.

The degree of structurality in lattices forms a continuous spectrum. Reducing the ring dimension n and increasing the modulus rank k will gradually approach unstructured lattices (n = 1). Stronger structures typically speed up the operation of the lattice version of Jolt and provide Anthropic's attack with more exploitable structure. Even if better quantum attacks pose risks to existing parameters, we may not need to resort to the extreme of n = 1. For example, suppose in the future the attack time is reduced to n^{2k} quantum operations, for any fixed k, that would be a polynomial-time attack. Taking the ring dimension n = 64 used by the lattice version of Jolt, if parameters require the attacker to compute at rank k = 12, even this faster attack would require 2^{144} quantum operations. Even if attacks improved to this extent, we would still have room to retain structures to make Jolt faster and proofs smaller.

Privacy Risks Faced by Jolt Are Different from Key Exchange

When two parties establish an encryption key using ML-KEM, an attacker can now record the key exchange process and encrypted messages. If a practically feasible quantum attack emerges later, and if there are strong enough quantum computers to run it, the attacker may recover the key and read those messages. This is the risk of "collecting now, decrypting later." For messages that must remain confidential for years, this will impact choice of schemes today. Therefore, NIST should provide an unstructured lattice-based option for establishing shared keys as soon as possible.

The upcoming lattice version of Jolt's zero-knowledge mode carries no such risks since it will provide statistical zero-knowledge. Even with unlimited computational power, a person who saves the proofs can hardly gain new information about private data from the proofs themselves, apart from what is already revealed by the public statement. This guarantee still holds even decades later if M-SIS is broken. The zero-knowledge mode of the elliptic curve version of Jolt also provides the same protection.

What ML-DSA Can Tell Us

I believe the reliability of the lattice version of Jolt against quantum attacks is roughly in the same category as the security of ML-DSA. Both rely on the difficulty of M-SIS and both generate challenges via the Fiat-Shamir transformation for hashing. ML-DSA also depends on M-LWE, and the variant of M-SIS used is stronger than that used by the lattice version of Jolt.

If M-SIS withstands further cryptanalysis and people continue to trust ML-DSA's resistance to quantum signatures, we also have reason to continue trusting the quantum-resistant succinct non-interactive arguments (SNARK) of the lattice version of Jolt. I expect it will have good long-term prospects.

If there emerges an M-SIS attack serious enough to cause people to abandon ML-DSA, I would also be concerned about the lattice version of Jolt. At that time, we might still adjust parameters to bring Jolt closer to unstructured lattices, thereby continuing to use it. The same changes applied to ML-DSA would mean that standards need to be revised.

ML-DSA also relies on M-LWE to protect signing keys, and an attacker who recovers that key can forge signatures. If the signing key is stored within a hardware wallet or secure module, users must wait for the device itself to support signing with new parameters before switching. Lattice versions of Jolt and similar SNARKs do not have private keys that can be recovered by attackers, nor do they require upgrading signing hardware. Breaking M-SIS would invalidate the security proofs of Jolt. To effectively attack Jolt, one would still need to find an efficient way to convert a short lattice relation into a verifiable Jolt proof of a false statement. It is currently unclear how to do this.

How to Address Uncertainty in Cryptography

If Anthropic's results make the hash route appear more reliable, and the hash version of Jolt is nearing completion, why continue investing in the lattice version? The smaller proofs of the lattice version are one reason. Even if the proof sizes are the same, users should have both options. Any system expected to last decades should anticipate that its cryptographic mechanisms may need to be updated. In light of the uncertainties in cryptanalysis, a prudent approach is to maintain switching capabilities and employ defense in depth. Hash-based cryptography will similarly be affected by AI-assisted cryptanalysis. Recently, Falko Strenzke discovered a faster classical attack targeting the SHA-256 versions of two hash signature schemes, LMS and XMSS, standardized by NIST, largely with the assistance of Claude. The attack remains extremely impractical but potentially weakens the claimed classical security strength by as much as 100 bits, leaving no parameter set in the SHA-2 schemes capable of achieving 192 bits of security.

The flexibility of Jolt comes from its core polynomial interactive oracle proofs (PIOP). It specifies how a verifier should check program execution when able to access specific polynomials. We can integrate any polynomial commitment scheme (PCS) as long as it allows the prover to commit to these polynomials and prove their values at points chosen by the verifier. The direct switch from elliptic curves to lattices in Jolt is due to the fact that we only need to replace the curve-based PCS Dory with the lattice-based PCS Akita.

For the hash version of Jolt, a larger change involves migrating calculations from the prime field to the binary field. Two years ago, Srinath Setty and I anticipated this step while designing the memory check proof Twist and Shout for Jolt and estimated the overhead of using hash-type PCS in the binary field.

After the hash version of Jolt goes live, users can prove the execution of a program in Jolt using any of the curves, lattices, or hashes. They can also use all three schemes simultaneously, allowing for defense in depth.

Author Disclosure: I am a member of the newly formed Cryptographic Incident Review Group (CIRG) and participated in the preliminary assessment of the Anthropic research findings. This article reflects my personal views.

Justin Thaler is a research partner at a16z Frontier and an associate professor in the Computer Science Department at Georgetown University.

Original Statement

The views expressed in this article are those of the individuals cited from AH Capital Management, L.L.C. (a16z), representing their personal opinions and do not represent a16z or its affiliates. Some of the information in this article comes from third parties, including portfolio companies of a16z's managed funds. Although the sources used are considered reliable, a16z has not independently verified this content, nor made any representations regarding its current or ongoing accuracy or applicability under specific circumstances. This article may also contain third-party advertisements, which a16z has not reviewed or endorsed.

This article is for informational purposes only and should not be regarded as legal, business, investment, or tax advice. Please consult your relevant advisors. References to securities or digital assets are for illustrative purposes only and do not constitute investment advice or an offer of investment advisory services. This article is not intended for any existing or potential investors and should not be the basis for any decision to invest in funds managed by a16z. Relevant fund investment offers are made only through private placement memoranda, subscription agreements, and other corresponding documents, which should be read in full. Investments or portfolio companies mentioned in this article do not represent all investments across each investment vehicle managed by a16z and do not guarantee that these investments will be profitable or that any future investments will have similar characteristics or results. A list of investments managed by Andreessen Horowitz can be found at investment list and does not include projects or publicly traded digital asset investments that have not been publicly disclosed by issuers.

Content is current as of the date indicated. Predictions, estimates, targets, outlooks, and opinions in the material may change without notice and may differ from others' views. For more important information, see the a16z disclosure page.

免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到[email protected],本平台相关工作人员将会进行核查。

Share To
APP

X

Telegram

Facebook

Reddit

CopyLink