Efficient and Post-Quantum Zero-Knowledge Proofs for Blockchain Confidential Transaction Protocols

Shang Gao, Tianyu Zheng, Yu Guo, Bin Xiao

TL;DR

This paper introduces highly efficient, lattice-based zero-knowledge proofs (ZKPs) designed for post-quantum confidential transactions on the blockchain. By eliminating the need for "corrector values" in balance proofs and replacing costly binary proofs in ring signatures with a novel "unbalanced linear sum" approach, the authors achieve up to a 50% reduction in proof size and significant speedups in proving and verification times compared to previous state-of-the-art protocols like MatRiCT.

What Problem Does This Paper Address?

Privacy-preserving cryptocurrencies (like Monero) use Ring Confidential Transactions (RingCT) to hide transaction amounts and participant identities. Currently, these systems rely on the hardness of discrete logarithm problems, which are vulnerable to future quantum computers.

While lattice-based cryptography offers a "post-quantum" alternative, existing lattice-based RingCT protocols (such as MatRiCT and MatRiCT+) are significantly more expensive than their classical counterparts. Specifically, they struggle with two areas:

  1. Balance Proofs: To prove that the sum of inputs equals the sum of outputs without revealing the amounts, these protocols often commit to the individual bits of an amount. This requires complex "corrector values" to handle the "carry" bits during addition, adding significant overhead.
  2. Ring Signatures: Hiding a spender's identity typically requires a "one-out-of-many" proof. In the lattice setting, proving that a secret index is a binary vector (0 or 1) requires large parameters and bulky proofs to maintain security.

Methods

The authors propose three primary technical innovations to streamline these proofs:

  • Inner-Product Linear Equation Satisfiability: Instead of using corrector values to manage bitwise addition, the authors use an inner-product approach to prove the balance equation directly. They introduce a "cycle masking" technique to ensure that the masking values used in the proof remain short and do not overflow the mathematical ring's modulus, which keeps the proof size small.
  • Unbalanced Linear Sum Proofs: The authors observe that for a ring signature to be secure (unforgeable), the prover doesn't strictly need to prove they are using a binary "one-out-of-many" relation. Instead, proving a "short non-zero linear sum" relation is sufficient. This "unbalanced" approach allows them to ditch the expensive binary proof part entirely, leading to much smaller signatures.
  • Partial Amortization: They extend existing amortization techniques (which batch multiple proofs into one) to handle non-homomorphic functions. This allows the protocol to verify multiple accounts simultaneously without a linear increase in proof size.

Datasets

The paper does not use external datasets. Instead, the authors developed a reference implementation of their protocols in Golang, utilizing the LAGO library for polynomial ring operations. They evaluated their work by benchmarking it against the original MatRiCT and MatRiCT+ implementations across various parameters (number of inputs, ring size, and bit precision).

Key Insights and Ideas

  • Corrector Values are Unnecessary: The "aha moment" here is realizing that the carry bits in bitwise addition don't need to be explicitly proven if the underlying linear relation of the bits can be verified through a carefully constructed inner product.
  • Relaxing the Ring Signature Requirement: By shifting from a strict "one-out-of-many" proof to a "linear sum" proof, the authors found a "weaker" mathematical relation that is still "strong enough" to guarantee cryptographic security. This allows the use of much smaller parameters.
  • Compatibility: The proposed ZKP relations are "compilable" with existing frameworks. This means they can be dropped into protocols like MatRiCT+ to gain immediate efficiency boosts without redesigning the entire blockchain architecture.

Key Results

The authors compared their "This Work" (implemented under MatRiCT and MatRiCT+ settings) against the baselines:

  • Proof Size: Reduced by up to 50% compared to MatRiCT and 20% compared to MatRiCT+.
  • Proving Time: Reduced by 30% (vs. MatRiCT) and 20% (vs. MatRiCT+).
  • Verification Time: Reduced by roughly 20% across both comparisons.
  • Scalability: The balance proof size remains relatively constant as the number of input accounts ($M$) increases, and the ring signature scales linearly but with a much lower slope than previous methods.

Limitations and Future Work

  • Output Constraints: The "partial amortization" technique is most efficient when the number of transaction outputs ($S$) is small (typically $\le 2$). While this covers most standard transactions, highly complex transactions with many outputs might still face parameter growth.
  • Logarithmic Scaling: While the current ring signature is efficient, the authors suggest that exploring a truly logarithmic-size linear sum proof (similar to how Bulletproofs work in the discrete log setting) is a promising direction for even larger anonymity sets.
  • Formal Sufficiency: The authors noted that finding the absolute "minimal" sufficient and necessary conditions for ring signatures could lead to further pruning of the proof.

Summary updated

BibTeX
@article{gao2021efficient,
  author = {Shang Gao and Tianyu Zheng and Yu Guo and Bin Xiao},
  title = {{Efficient and Post-Quantum Zero-Knowledge Proofs for Blockchain Confidential Transaction Protocols}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2021},
  url = {https://openreview.net/forum?id=f4Wb5dFmGsnK},
}
Figure