After the AI breakthrough of the Riemann hypothesis, nearly 400,000 ZEC are exposed to risks.

CN
1 hour ago

The original text is fromZakura

Translation / Odaily Planet Daily Golem (@web 3_golem)z1mXFqyVZLBWkVCLTCgNq_XRyhnUCV-CZQT8lMq2Dts.webp

The most famous problem in mathematics, the Riemann Hypothesis, has been proven by AI. Recently, there are rumors that AI has also made breakthroughs in integer factorization (RSA). Although RSA is rarely used in cryptocurrencies, it is closely related to breaking "pairing-based cryptography."

This puts Zcash's early privacy pool Sapling (which accounts for 2% of the total supply) at risk. Of course, the consensus signatures of Ethereum and Solana, as well as other zero-knowledge proof (ZK) deployments may also face risks. Zcash's transparent transactions do not rely on integer factorization or pairing technology, hence Zcash's modern privacy pool Ironwood is secure.

The best time to respond to cryptographic breakthroughs is before they happen. Therefore, Zcash should disable the deposit feature of Sapling and accelerate the phase-out process of Sapling. Zcash should also introduce post-quantum transparent transaction mechanisms as soon as possible. If your ZEC is stored in Sapling, be sure to migrate to Ironwood.

What would happen if pairing technology is broken?

Before assessing the possibility of pairing technology being broken, let’s look at the consequences of its breakdown.

Zcash was one of the first projects in the cryptocurrency space to apply pairing technology. Today, pairing technology not only underpins the consensus algorithms of many blockchains (such as Ethereum, Solana, BNB, etc.), but also supports various zero-knowledge proof systems. (Note: User accounts are usually not protected by pairing technology)

If a blockchain relies on pairing technology for consensus, it must urgently migrate to other signature schemes.

In Zcash's old Sapling privacy pool, users' private keys and "note commitments" do not rely on pairing technology; only the proof system does. Once pairing technology is broken, attackers can forge proofs, thus putting nearly 400,000 ZEC in the Sapling pool at risk.

glGOd5Mx9t3hMDgkMkj5E5-1t5xhKrfuLbo2DS6N02g.webp

The proportion of ZEC in various privacy pools in zcash

Fortunately, the proof system of Sapling can be replaced without replacing the “note commitments.” By freezing Sapling before the state is compromised, users can still recover funds later using a new SNARK based on ECDLP (Elliptic Curve Discrete Logarithm Problem) or hash functions.

What measures should Zcash take?

All Zcash users should understand the following points:

  • Transparent funds are secure;
  • The funds in the privacy pool Ironwood are secure;
  • Even if the rumors about "pairing technology being broken" are true, Sapling funds can still be recovered through specific mechanisms.

Although "pairing technology being broken" is currently still at a purely speculative stage, it is still recommended that Zcash accelerate the plan to deprecate Sapling, i.e., to disable payments to the Sapling funds pool through a network upgrade.

Since most wallets support both Sapling and Ironwood, the impact of this move should be minimal. In fact, the majority of recipients of Sapling transactions are miners, who can easily switch to Ironwood. In the past 30 days, transactions using Sapling accounted for less than 2.6%; of which 66% clearly belong to the funds of miners, and the rest are likely also mostly from miners.

The community should be prepared to freeze the entire funds pool at any time once the safety of "pairing" is faced with credible risks. If such a freeze occurs, efforts should be immediately made to develop a zero-knowledge proof (ZKP) that reuses the same circuit logic, allowing the frozen funds in Sapling to be recovered.

Security in the Era of Rapid AI Development

Breakthroughs in mathematics within the AI field are likely to continue. Communities should proactively raise security targets to 192 bits or 256 bits, thereby reserving buffer space to respond to the enhanced capabilities of future attacks. Where conditions allow, we should adopt more robust cryptographic assumptions, such as hash-based schemes or elliptic curve schemes that do not involve “pairing.”

Increasing security strength by 64 bits has a relatively low cost yet can increase attack costs by powers of 10^18. Even if we assume that an attacker achieves some form of "square advantage" (i.e., more efficient than currently known optimal attack methods), the security strength can still increase a billionfold. Raising security levels is the simplest and most effective way to prevent future potential risks.

In light of this, we are drafting a proposal for the Zcash community to introduce a security strength of 192 bits using SPHINCS+ (i.e., SLH-DSA-192) to achieve post-quantum transparent transactions within a hash-based cryptographic framework.

Technical Discussion: How Feasible are Attacks?

Currently, the most effective attack against “pairing” is the "Number Field Sieve" (NFS) algorithm. NFS requires a computational cost that is extremely high for each field, while subsequent operations to crack individual keys are relatively inexpensive. This differs from typical quantum attacks, where each key must be cracked independently and the cracking costs are approximately equal.

The costs of NFS attacks are typically estimated using abstract arithmetic complexity, but this severely underestimates their actual attack costs in realistic environments. Even using customized hardware architectures, memory access and data movement remain significant performance bottlenecks.

When comparing pairing-based cryptographic systems with NFS variants of RSA, the asymptotic complexity of BLS12-381 is roughly equivalent to RSA-2630. If we consider the actual costs of arithmetic and other operations, and employ CurveSmash's latest instruction-level estimates, the difficulty is closer to RSA-3072.

In September, Cognition successfully factored RSA-260 (an 862-bit integer) and developed a GPU-based NFS implementation that reduces the attack cost by ten times compared to previously published optimal schemes. Based on actual GPU usage, they estimated that the cost of cracking RSA-2048 would reach 37.7 trillion dollars.

If we extrapolate these estimates to RSA-3072, the cost of cracking BLS12-381 would reach about 100 trillion dollars ($100 sextillion), while the cost of cracking RSA-2630 would be about 323 trillion dollars ($323 quintillion).

Even if the integer factorization problem is ultimately proven to belong to P complexity (meaning there exists a polynomial-time algorithm), we have no way of knowing what the exponent is and whether such an algorithm is practical at the scales used in cryptography. If the exponent of a polynomial-time algorithm is as high as 100, it will be useless in practical applications. So far, most groundbreaking advancements in the AI field often involve "galactic algorithms," which are completely impractical at real-world application scales.

If we assume that the unpublished rumors are true, meaning performance improvements at practical scales can reach a billion-fold, then breaking through this bottleneck would require costs ranging from 1 trillion to 300 trillion dollars.

This implies it would take months or even years of time and utilize computational cluster resources that carry exceedingly high opportunity costs. Even under this extremely optimistic (i.e., very low cost) assessment, the required expenditure would be comparable to the total market capitalization of the entire cryptocurrency industry (and cutting-edge AI laboratories). This leaves Zcash with ample time to rapidly complete system upgrades.

Additionally, BN-254 (which has a much smaller finite field size) is expected to be cracked earlier than BLS12-381.

Does the proof process of the Riemann Hypothesis contain methods to reduce the complexity of integer factorization?

There is a recognized close relationship between the Riemann Hypothesis and “smooth numbers.” There is a widespread belief in academia that the proof process of the Riemann Hypothesis might contain insights that reduce the time complexity of integer factorization algorithms. This provides some contextual basis for the rumor that "some AI laboratories have cracked polynomial-time integer factorization algorithms."

Integer factorization (RSA), the discrete logarithm problem in finite fields, and attacks against pairing-based cryptography currently rely on variants of the "Number Field Sieve" as the most effective means of attack. One of the core components of the complexity of NFS algorithms is the search for “smooth numbers” that satisfy specific algebraic constraints.

The Riemann Hypothesis directly impacts the estimates of the number of "smooth numbers" within certain ranges. Therefore, the proof of the Riemann Hypothesis might yield more efficient methods for filtering smooth numbers that meet specific constraints. This could reduce the cost of the "Number Field Sieve," thus lowering the time complexity of the integer factorization problem.

This breakthrough could significantly decrease the complexity of the Number Field Sieve and impact integer factorization and pairing-based cryptography. However, it is still unclear whether there is a connection between "counting" and "efficient construction."

Moreover, there could also be improvements that are focused solely on the integer factorization problem, as the NFS relations involved in integer factorization differ from those in pairing cryptography, which may result in unique acceleration effects; there may even be a completely different attack method that does not depend on integer factorization at all.

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

Share To
APP

X

Telegram

Facebook

Reddit

CopyLink