Introduce PLONK: Revolutionizing ZK-SNARK Technology for Efficiency and Privacy
Table of Contents
![](/blog/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2F937qzezkco6g%2FAAujd5lymgSo5tb5xbyJ8%2F5d77cb21281d4ffe8332a39127baccd6%2FPlonK---A-Breakthrough-in-Efficient-ZK-SNARK-Technology.jpg&w=2048&q=75)
In the ever-evolving world of cryptography, privacy and security are paramount concerns. Zero-Knowledge Succinct Non-Interactive Arguments of Knowledge (ZK-SNARKs) have emerged as powerful cryptographic tools that allow individuals to prove the validity of statements without revealing sensitive information. Among various ZK-SNARKs, PLONK has taken center stage due to its remarkable efficiency and innovative approach. In this article, we explore the fascinating world of PLONK, delving into its inner workings, advantages, efficiency, and potential for future improvements.
I. Introducing PLONK: The Efficient ZK-SNARK
PLONK, short for "Permutations over Lagrange-bases for Oecumenical Noninteractive arguments of Knowledge," is a general-purpose zero-knowledge proof scheme devised by Ariel Gabizon, Zac Williamson, and Oana Ciobotaru. Zero-knowledge proofs allow one party (the prover) to demonstrate knowledge of specific information to another party (the verifier) without revealing the actual details. This makes ZK-SNARKs highly valuable in applications that require secure data sharing and privacy-preserving transactions.
Building upon the advancements of protocols like SONIC and Marlin, PLONK introduces several key improvements to enhance the usability and efficiency of zero-knowledge proofs.
![](/blog/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2F937qzezkco6g%2F1RGRtdBxnCivGOMfHN27YX%2Fbd73a87299c4ffd2bbcbb91cfb244d66%2Fimage1.png&w=1200&q=75)
Source: Understanding PLONK - Vitalik Buterin's website
The key improvements in PLONK are as follows:
Universal and Updateable Trusted Setup: Like many other zero-knowledge proof schemes, PLONK still requires a trusted setup procedure. In a trusted setup, a set of initial parameters is generated, and the security of the scheme depends on keeping these parameters secret. However, PLONK's trusted setup is universal and updateable. This means that instead of needing a separate trusted setup for each program to be proven, there is one single trusted setup that can be used with any program (up to a certain maximum size defined during setup). Additionally, the trusted setup can involve multiple parties, and it remains secure as long as at least one of the participants is honest. This multi-party procedure is sequential, allowing participants to be added over time, which increases the safety of the setup in practice.
Standardized Component - Polynomial Commitment: PLONK relies on a single standardized component called a "polynomial commitment." Polynomial commitments are cryptographic tools that enable efficient verification of polynomial equations. PLONK uses "Kate commitments," which are based on trusted setups and elliptic curve pairings. However, the scheme is flexible, allowing alternative schemes like FRI or DARK to be used instead. This means that different trade-offs between proof size and security assumptions can be achieved by swapping out the polynomial commitment scheme. The ability to choose different schemes caters to various use cases and developer preferences.
II. Understanding PLONK's Inner Workings
PLONK converts a problem represented by a computer program into a set of polynomial equations using essential concepts: gate constraints and copy constraints.
1. Gate Constraints: These equations relate the values of wires attached to the same gate in the circuit. Logic gates for addition and multiplication form the circuit representation in PLONK. Each gate takes input wires and produces an output wire based on specific operations. For example, a multiplication gate with inputs A and B and output C would have a gate constraint: C = A * B. These constraints accurately represent the circuit's operations, allowing the verifier to confirm correctness without knowing the prover's inputs.
2. Copy Constraints: Copy constraints ensure the equality of different wires within the circuit. They preserve the flow of data by enforcing that the output of one gate matches the input of another. For instance, if two wires A and B must have the same value, the copy constraint would be: A = B.
By employing gate and copy constraints, PLONK achieves a compact and efficient representation of the problem, making it scalable and practical for various applications requiring zero-knowledge proofs.
To understand more about formulas and math. We recommend you to read this article from Vitalik.
III. Benefits and Features of PLONK
1. Enhanced Prover Efficiency: PLONK significantly reduces the prover's computational burden, requiring only five polynomial commitments and two opening proofs. This efficiency sets it apart from other ZK-SNARKs like Sonic, making it ideal for applications demanding efficient computation.
2. Compact SRS Size: PLONK boasts a smaller Structured Reference String (SRS) size, crucial for generating ZK-SNARK proofs. Its compact SRS size aligns with the circuit's number of gates, substantially reducing required storage compared to other ZK-SNARKs. This enhances efficiency and scalability in real-world use cases.
![](/blog/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2F937qzezkco6g%2FdRVrIKPxvDQp6lvE3LgVh%2Fd7085b4b10529ae7377a1de77013f981%2Fimage3.png&w=1200&q=75)
Table Source: PlonK: Permutations over Lagrange-bases for Oecumenical Noninteractive arguments of Knowledge
IV. PLONK's Impressive Efficiency
Benchmarking experiments:
Benchmarking experiments demonstrate PLONK's remarkable performance. Proofs constructed for circuits containing over a million gates take under 23 seconds on consumer-grade hardware. Comparisons to FFT and elliptic curve scalar multiplications highlight PLONK's optimized execution of cryptographic operations, reinforcing its efficiency.
![](/blog/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2F937qzezkco6g%2F5jst4je0ou0KmbsPxWLwr6%2F74fdb395eee1f1acd6ee39e64002df3b%2Fimage2.png&w=1200&q=75)
Table Source: PlonK: Permutations over Lagrange-bases for Oecumenical Noninteractive arguments of Knowledge
Comparison to FFT and elliptic curve scalar multiplications:
In a comparison to FFT (Fast Fourier Transform) and elliptic curve scalar multiplications, PLONK demonstrates its prowess. The FFT costs associated with PLONK are on par with elliptic curve scalar multiplications, emphasizing the efficiency of PLONK's computational operations. This demonstrates the optimized execution of essential cryptographic operations within PLONK.
V. Potential Future Improvements
1. Integration of Sparse Bi-variate Evaluation: PLONK is considering incorporating the technique of sparse bi-variate evaluation from other ZK-SNARKs like Fractal and Marlin. This integration aims to achieve efficient verification of linear constraints, further streamlining validation and enhancing overall efficiency.
2. Enhanced Efficiency and Flexibility: PLONK explores the potential to combine permutation checking with sparse bi-variate evaluation, capitalizing on their strengths. Such integration could improve efficiency and flexibility, enabling PLONK to handle a broader range of gate types effectively.
3. Exploration of Optimization Opportunities: Continual research seeks to optimize PLONK's performance across various metrics, including prover and verifier run times, proof length, and SRS size. This dedication ensures PLONK remains at the forefront of efficient cryptographic protocols.
4. Adapting to Emerging Use Cases: PLONK strives to adapt to emerging technologies and applications, ensuring its compatibility and effectiveness in addressing future cryptographic challenges.
Conclusion
PLONK heralds a new era of efficiency in ZK-SNARKs. With its unique permutation argument and simplified representation of Lagrange polynomials, PLONK offers exceptional benefits, including enhanced prover efficiency and reduced SRS size. The benchmarking experiments have validated PLONK's efficiency, making it a top choice for real-world applications. As ongoing research drives potential improvements, PLONK continues to lead as a groundbreaking ZK-SNARK construction, empowering individuals and organizations with secure, privacy-preserving cryptographic solutions.
About ZKP Labs
ZKP Labs is a non-profit organization that focuses on building a vibrant and supportive community in Southeast Asia dedicated to the advancement of Zero-Knowledge Proof (ZKP) technology. Through events, workshops, and training programs, we strive to create an environment that fosters collaboration, knowledge-sharing, and growth, empowering community members to contribute to the development and adoption of ZKP.
Categories
Event Recap
5
Zero Knowledge Proofs 101
27
Top Posts
Nothing here
Tag
Zero Knowledge Proofs