Original source from Zakura
Compiled / Odaily Planet Daily Golem (@web 3_golem)
The Riemann Hypothesis, one of the most famous problems in mathematics, has been proven by AI. Recent rumors suggest that AI has also made breakthroughs in integer factorization (RSA). Although RSA is rarely used in cryptocurrency, 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, as well as consensus signatures on Ethereum and Solana, and other zero-knowledge proof (ZK) deployments. Zcash’s transparent transactions do not rely on integer factorization or pairing techniques, so Zcash’s modern privacy pool, Ironwood, remains secure.
The best time to respond to a cryptographic breakthrough is before it happens. Therefore, Zcash should disable Sapling deposit functionality and accelerate the phase-out of Sapling, and Zcash should also introduce a quantum-resistant (post-quantum) transparent transaction mechanism as soon as possible. If your ZEC is stored in Sapling, be sure to migrate to Ironwood.
What happens if the pairing technology is compromised?
Before evaluating the likelihood of the pairing technology being compromised, let’s consider the consequences of such a breach.
Zcash was among the first projects in the cryptocurrency space to implement pairing technology. Today, pairing technology not only secures the consensus algorithms of many blockchains (such as Ethereum, Solana, BNB, etc.), but also underpins various zero-knowledge proof systems. (Note: User accounts are typically not protected by pairing technology.)
If the blockchain relies on pairing technology to achieve consensus, an urgent migration to another signature scheme is required.
In the older Sapling privacy pool of Zcash, users' private keys and note commitments do not rely on pairing technology—only the proof system does. If pairing technology is compromised, attackers could forge proofs, putting nearly 400,000 ZEC in the Sapling pool at risk.

The proportion of ZEC in each privacy pool in Zcash
Fortunately, Sapling’s proof system can be replaced without replacing the “note commitments.” By freezing Sapling before its state is compromised, users can still recover their funds in the future using new SNARKs based on ECDLP (elliptic curve discrete logarithm problem) or hash functions.
What measures should Zcash take?
All Zcash users should be aware of the following:
- Transparent funds are secure;
- Funds in the Ironwood privacy pool are secure;
- Even if the rumors about the pairing technology being compromised are true, Sapling funds can still be recovered through specific mechanisms.
Although the claim that "pairing technology has been broken" remains purely speculative, it is still recommended that Zcash accelerate its plan to deprecate Sapling by disabling payments to the Sapling shielded pool through a network upgrade.
Since most wallets support both Sapling and Ironwood, the impact of this change should be minimal. In fact, the recipients of Sapling transactions are mostly miners, who can easily switch to Ironwood. Over the past 30 days, Sapling transactions accounted for less than 2.6% of total transactions; 66% of these were clearly related to miner flows, and the remainder likely also originated primarily from miners.
The community should be prepared to immediately freeze the entire pool if the security of the "pairing" faces a credible risk. In the event of such a freeze, development of a zero-knowledge proof (ZKP) should begin immediately, leveraging the same circuit logic to enable the recovery of frozen Sapling funds.
Security in the Age of Rapid AI Development
Breakthroughs in AI-related mathematics are likely to continue. Communities should proactively raise their security targets to 192 bits or 256 bits to create a buffer against future advances in attack capabilities. Where feasible, we should adopt more robust cryptographic assumptions, such as hash-based schemes or elliptic curve schemes that do not involve "pairings."
Increasing the security strength by 64 bits comes at a relatively low cost but raises the cost of an attack by a factor of 10^18. Even if an attacker were to gain some “square-root advantage” (i.e., a method more efficient than currently known optimal attacks), the security strength would still increase by a factor of one billion. Enhancing security levels is the simplest and most effective way to guard against potential future risks.
In light of this, we are developing a proposal for the Zcash community to introduce SPHINCS+ with 192-bit security strength (i.e., SLH-DSA-192), enabling quantum-resistant transparent transactions within a hash-based cryptographic framework.
Technical discussion: How feasible is the attack?
The most effective attack currently against "pairs" employs the Number Field Sieve (NFS) algorithm. NFS requires a highly expensive computation for each field, but subsequent cracking of individual keys is relatively inexpensive. This differs from typical quantum attacks, where each key must be cracked independently and the cracking cost is roughly equivalent for each.
The cost of NFS attacks is typically estimated using abstract arithmetic complexity, but this severely underestimates the actual attack cost in real-world environments. Even with customized hardware architectures, memory access and data movement remain the primary performance bottlenecks.
When comparing pairing-based cryptosystems to RSA's NFS variant, the asymptotic complexity of BLS12-381 is roughly equivalent to RSA-2630. When accounting for the practical costs of arithmetic and other operations, and using the latest instruction-level estimates from CurveSmash, its security level is closer to RSA-3072.
In September, Cognition successfully factored RSA-260 (an 862-bit integer) and developed a GPU-based NFS implementation that reduced the attack cost by a factor of 10 compared to the previously published optimal method. Based on actual GPU usage, they estimated the cost to break RSA-2048 would be $37.7 trillion.
If these estimates are extrapolated to RSA-3072, the cost to break BLS12-381 would be approximately $100 sextillion, while the cost to break RSA-2630 would be around $323 quintillion.
Even if integer factorization is ultimately proven to be in class P (i.e., a polynomial-time algorithm exists), we would have no way of knowing the exact exponent of that algorithm, nor whether it would be practical at the scales used in cryptography. If a polynomial-time algorithm has an exponent as high as 100, it would be useless in practice. So far, most breakthrough advances in AI have involved “galactic algorithms”—algorithms that are entirely impractical at real-world scales.
If we assume the unconfirmed rumors are true—that performance improvements could reach a billion-fold under actual scale—then the cost to overcome this bottleneck would range from $1 trillion to $300 trillion.
This would require months or even years of time and consume computing clusters with extremely high opportunity costs. Even under this highly optimistic (i.e., extremely low-cost) estimate, the required expenditure would be comparable to the total market capitalization of the entire cryptocurrency industry (and AI frontier labs). This leaves Zcash with ample time to complete its system upgrade swiftly.
Additionally, BN-254, which has a much smaller finite field size, is expected to be broken before BLS12-381.
Does the proof of the Riemann Hypothesis imply a method for reducing the complexity of integer factorization?
There is a widely recognized close connection between the Riemann Hypothesis and "smooth numbers." There is a prevalent view in academia that a proof of the Riemann Hypothesis may contain insights capable of reducing the time complexity of integer factorization algorithms. This provides some contextual basis for rumors that "certain AI labs have already cracked a polynomial-time integer factorization algorithm."
Integer factorization (RSA), the discrete logarithm problem over finite fields, and attacks against pairing-based cryptography are currently most effectively addressed by variants of the Number Field Sieve. A key component of the NFS algorithm's complexity is finding "smooth numbers" that satisfy specific algebraic constraints.
The Riemann Hypothesis directly affects the estimation of the number of "smooth numbers" within a specific range. Therefore, a proof of the Riemann Hypothesis might lead to more efficient methods for identifying smooth numbers that meet certain constraints. This could reduce the cost of the number field sieve, thereby lowering the time complexity of integer factorization.
This breakthrough may significantly reduce the complexity of the number field sieve and impact integer factorization and pairing-based cryptography. However, it is currently unclear whether there is a connection between "counting" and "efficient construction."
Additionally, there may be improvements specific to integer factorization, since the NFS relations involved in integer factorization differ from those in pairing-based cryptography, potentially leading to unique speedups—or even an entirely different attack method that does not rely on integer factorization at all.





