Non-interactive zero-knowledge proof explained
Non-interactive zero-knowledge proofs are cryptographic primitives, where information between a prover and a verifier can be authenticated by the prover, without revealing any of the specific information beyond the validity of the statement itself. This makes direct communication between the prover and verifier unnecessary, effectively removing any intermediaries.
The key advantage of non-interactive zero-knowledge proofs is that they can be used in situations where there is no possibility of interaction between the prover and verifier, such as in online transactions where the two parties are not able to communicate in real time. This makes non-interactive zero-knowledge proofs particularly useful in decentralized systems like blockchains, where transactions are verified by a network of nodes and there is no central authority to oversee the verification process.[1]
Most non-interactive zero-knowledge proofs are based on mathematical constructs like elliptic curve cryptography or pairing-based cryptography, which allow for the creation of short and easily verifiable proofs of the truth of a statement. Unlike interactive zero-knowledge proofs, which require multiple rounds of interaction between the prover and verifier, non-interactive zero-knowledge proofs are designed to be efficient and can be used to verify a large number of statements simultaneously.
History
Blum, Feldman, and Micali[2] showed in 1988 that a common reference string shared between the prover and the verifier is sufficient to achieve computational zero-knowledge without requiring interaction. Goldreich and Oren[3] gave impossibility results for one shot zero-knowledge protocols in the standard model. In 2003, Shafi Goldwasser and Yael Tauman Kalai published an instance of an identification scheme for which any hash function will yield an insecure digital signature scheme.[4]
The model influences the properties that can be obtained from a zero-knowledge protocol. Pass[5] showed that in the common reference string model non-interactive zero-knowledge protocols do not preserve all of the properties of interactive zero-knowledge protocols; e.g., they do not preserve deniability. Non-interactive zero-knowledge proofs can also be obtained in the random oracle model using the Fiat–Shamir heuristic.
Blockchain applications
In 2012, Alessandro Chiesa et al developed the zk-SNARK protocol, an acronym for zero-knowledge succinct non-interactive argument of knowledge.[6] The first widespread application of zk-SNARKs was in the Zerocash blockchain protocol, where zero-knowledge cryptography provides the computational backbone, by facilitating mathematical proofs that one party has possession of certain information without revealing what that information is.[7] Zcash utilized zk-SNARKs to facilitate four distinct transaction types: private, shielding, deshielding, and public. This protocol allowed users to determine how much data was shared with the public ledger for each transaction.[8] Ethereum zk-Rollups also utilize zk-SNARKs to increase scalability.[9]
In 2017, Bulletproofs[10] was released, which enable proving that a committed value is in a range using a logarithmic (in the bit length of the range) number of field and group elements.[11] Bulletproofs was later implemented into Mimblewimble protocol (the basis for Grin and Beam, and Litecoin via extension blocks) and Monero cryptocurrency.[12]
In 2018, the zk-STARK (zero-knowledge Scalable Transparent Argument of Knowledge)[13] protocol was introduced by Eli Ben-Sasson, Iddo Bentov, Yinon Horesh, and Michael Riabzev,[14] offering transparency (no trusted setup), quasi-linear proving time, and poly-logarithmic verification time.Zero-Knowledge Succinct Transparent Arguments of Knowledge are a type of cryptographic proof system that enables one party (the prover) to prove to another party (the verifier) that a certain statement is true, without revealing any additional information beyond the truth of the statement itself. zk-STARKs are succinct, meaning that they allow for the creation of short proofs that are easy to verify, and they are transparent, meaning that anyone can verify the proof without needing any secret information.
Unlike the first generation of zk-SNARKs, zk-STARKs, by default, do not require a trusted setup, which makes them particularly useful for decentralized applications like blockchains. Additionally, zk-STARKs can be used to verify many statements at once, making them scalable and efficient.
In 2019, HALO recursive zk-SNARKs without a trusted setup were presented. Pickles[15] zk-SNARKs, based on the former construction, power Mina, the first succinctly verifiable blockchain.[16]
A list of zero-knowledge proof protocols and libraries is provided below along with comparisons based on transparency, universality, and plausible post-quantum security. A transparent protocol is one that does not require any trusted setup and uses public randomness. A universal protocol is one that does not require a separate trusted setup for each circuit. Finally, a plausibly post-quantum protocol is one that is not susceptible to known attacks involving quantum algorithms.
Non-interactive zero-knowledge proof systems! ZKP system! Publication year! Protocol! Transparent! Universal! Plausibly post-quantum securePinocchio[17] | 2013 | zk-SNARK | No | No | No |
Geppetto[18] | 2015 | zk-SNARK | No | No | No |
TinyRAM[19] | 2013 | zk-SNARK | No | No | No |
Buffet[20] | 2015 | zk-SNARK | No | No | No |
vRAM[21] | 2018 | zk-SNARG | No | Yes | No |
vnTinyRAM[22] | 2014 | zk-SNARK | No | Yes | No |
MIRAGE[23] | 2020 | zk-SNARK | No | Yes | No |
Sonic[24] | 2019 | zk-SNARK | No | Yes | No |
Marlin[25] | 2020 | zk-SNARK | No | Yes | No |
PLONK[26] | 2019 | zk-SNARK | No | Yes | No |
SuperSonic[27] | 2020 | zk-SNARK | Yes | Yes | No |
Bulletproofs[28] | 2018 | Bulletproofs | Yes | Yes | No |
Hyrax[29] | 2018 | zk-SNARK | Yes | Yes | No |
Halo[30] | 2019 | zk-SNARK | Yes | Yes | No |
Virgo[31] | 2020 | zk-SNARK | Yes | Yes | Yes |
Ligero[32] | 2017 | zk-SNARK | Yes | Yes | Yes |
Aurora[33] | 2019 | zk-SNARK | Yes | Yes | Yes |
zk-STARK[34] | 2019 | zk-STARK | Yes | Yes | Yes |
Zilch[35] [36] | 2021 | zk-STARK | Yes | Yes | Yes | |
Definition
Originally,[2] non-interactive zero-knowledge was only defined as a single theorem-proof system. In such a system each proof requires its own fresh common reference string. A common reference string in general is not a random string. It may, for instance, consist of randomly chosen group elements that all protocol parties use. Although the group elements are random, the reference string is not as it contains a certain structure (e.g., group elements) that is distinguishable from randomness. Subsequently, Feige, Lapidot, and Shamir[37] introduced multi-theorem zero-knowledge proofs as a more versatile notion for non-interactive zero-knowledge proofs.
Pairing-based non-interactive proofs
Pairing-based cryptography has led to several cryptographic advancements. One of these advancements is more powerful and more efficient non-interactive zero-knowledge proofs. The seminal idea was to hide the values for the pairing evaluation in a commitment. Using different commitment schemes, this idea was used to build zero-knowledge proof systems under the sub-group hiding[38] and under the decisional linear assumption.[39] These proof systems prove circuit satisfiability, and thus by the Cook–Levin theorem allow proving membership for every language in NP. The size of the common reference string and the proofs is relatively small; however, transforming a statement into a boolean circuit incurs considerable overhead.
Proof systems under the sub-group hiding, decisional linear assumption, and external Diffie–Hellman assumption that allow directly proving the pairing product equations that are common in pairing-based cryptography have been proposed.[40]
Under strong knowledge assumptions, it is known how to create sublinear-length computationally-sound proof systems for NP-complete languages. More precisely, the proof in such proof systems consists only of a small number of bilinear group elements.[41] [42]
References
- Book: Gong . Yinjie . Jin . Yifei . Li . Yuchan . Liu . Ziyi . Zhu . Zhiyi . 2022 International Conference on Big Data, Information and Computer Network (BDICN) . Analysis and comparison of the main zero-knowledge proof scheme . January 2022 . https://ieeexplore.ieee.org/document/9758531 . 366–372 . 10.1109/BDICN55575.2022.00074. 978-1-6654-8476-3 . 248267862 .
- Manuel Blum, Paul Feldman, and Silvio Micali. Non-Interactive Zero-Knowledge and Its Applications. Proceedings of the twentieth annual ACM symposium on Theory of computing (STOC 1988). 103–112. 1988
- Oded Goldreich and Yair Oren. Definitions and Properties of Zero-Knowledge Proof Systems. Journal of Cryptology. Vol 7(1). 1–32. 1994 (PS)
- Shafi Goldwasser and Yael Kalai. On the (In)security of the Fiat–Shamir Paradigm. Proceedings of the 44th Annual IEEE Symposium on Foundations of Computer Science (FOCS'03). 2003
- Rafael Pass. On Deniability in the Common Reference String and Random Oracle Model. Advances in Cryptology – CRYPTO 2003. 316–337. 2003 (PS)
- Book: Bitansky. Nir . Canetti. Ran . Chiesa. Alessandro . Tromer. Eran . Proceedings of the 3rd Innovations in Theoretical Computer Science Conference on - ITCS '12 . From extractable collision resistance to succinct non-interactive arguments of knowledge, and back again . http://dl.acm.org/citation.cfm?id=2090263 . . 10.1145/2090236.2090263 . January 2012 . 326–349 . 978-1-4503-1115-1 . 2576177 .
- Web site: Ben-Sasson. Eli . Chiesa. Alessandro . Garman. Christina . Green. Matthew . Miers. Ian . Tromer. Eran . Virza. Madars . Zerocash: Decentralized Anonymous Payments from Bitcoin . IEEE . 26 January 2016 . 18 May 2014 .
- Web site: Ben-Sasson. Eli . Chiesa. Alessandro . What are zk-SNARKs? . z.cash . 3 November 2022.
- Web site: Zero-Knowledge rollups . 2023-02-25 . ethereum.org . en.
- Book: Bünz . Benedikt . Bootle . Jonathan . Boneh . Dan . Poelstra . Andrew . Wuille . Pieter . Maxwell . Greg . 2018 IEEE Symposium on Security and Privacy (SP) . Bulletproofs: Short Proofs for Confidential Transactions and More . May 2018 . https://ieeexplore.ieee.org/document/8418611 . 315–334 . 10.1109/SP.2018.00020. 978-1-5386-4353-2 . 3337741 .
- Book: Bünz . Benedikt . Bootle . Jonathan . Boneh . Dan . Poelstra . Andrew . Wuille . Pieter . Maxwell . Greg . 2018 IEEE Symposium on Security and Privacy (SP) . Bulletproofs: Short Proofs for Confidential Transactions and More . May 2018 . 315–334 . 10.1109/SP.2018.00020 . 978-1-5386-4353-2 . 3337741 . https://web.stanford.edu/~buenz/pubs/bulletproofs.pdf . 2 December 2022.
- Web site: Odendaal . Hansie . Sharrock . Cayle . Heerden . SW . Bulletproofs and Mimblewimble . Tari Labs University . 3 December 2020 . https://web.archive.org/web/20200929160834/https://tlu.tarilabs.com/cryptography/bulletproofs-and-mimblewimble/MainReport.html . 29 September 2020.
- http://www.cs.technion.ac.il/RESEARCH_DAY_17/POSTERS/michael_riabzev.pdf http://www.cs.technion.ac.il/RESEARCH_DAY_17/POSTERS/michael_riabzev.pdf
- Web site: Eli Ben-Sasson . Iddo Bentov . Yinon Horesh . Michael Riabzev . March 6, 2018 . Scalable, transparent, and post-quantum secure computational integrity . October 24, 2021 . International Association for Cryptologic Research.
- Web site: Meet Pickles SNARK: Enabling Smart Contracts on Coda Protocol . 2023-02-25 . Mina Protocol.
- Web site: Bonneau . Joseph . Meckler . Izaak . Rao . V. . Evan . Shapiro . 2021. Mina: Decentralized Cryptocurrency at Scale . 226280610 . en.
- Book: Parno . Bryan . Howell . Jon . Gentry . Craig . Raykova . Mariana . 2013 IEEE Symposium on Security and Privacy . Pinocchio: Nearly Practical Verifiable Computation . May 2013 . https://ieeexplore.ieee.org/document/6547113 . 238–252 . 10.1109/SP.2013.47. 978-0-7695-4977-4 . 1155080 .
- Book: Costello . Craig . Fournet . Cédric . Howell . Jon . Kohlweiss . Markulf . Kreuter . Benjamin . Naehrig . Michael . Parno . Bryan . Zahur . Samee . 2015 IEEE Symposium on Security and Privacy . Geppetto: Versatile Verifiable Computation . May 2015 . https://ieeexplore.ieee.org/document/7163030 . 253–270 . 10.1109/SP.2015.23. 978-1-4673-6949-7 . 3343426 .
- Book: Ben-Sasson . Eli . Chiesa . Alessandro . Genkin . Daniel . Tromer . Eran . Virza . Madars . Advances in Cryptology – CRYPTO 2013 . SNARKs for C: Verifying Program Executions Succinctly and in Zero Knowledge . Lecture Notes in Computer Science . 2013 . 8043 . Canetti . Ran . Garay . Juan A. . https://link.springer.com/chapter/10.1007/978-3-642-40084-1_6 . en . Berlin, Heidelberg . Springer . 90–108 . 10.1007/978-3-642-40084-1_6 . 978-3-642-40084-1.
- Book: Efficient RAM and Control Flow in Verifiable Outsourced Computation . 2023-02-25. 2015 . en-US . 10.14722/ndss.2015.23097 . Wahby . Riad S. . Setty . Srinath . Ren . Zuocheng . Blumberg . Andrew J. . Walfish . Michael . 978-1-891562-38-9 .
- Book: Zhang . Yupeng . Genkin . Daniel . Katz . Jonathan . Papadopoulos . Dimitrios . Papamanthou . Charalampos . 2018 IEEE Symposium on Security and Privacy (SP) . VRAM: Faster Verifiable RAM with Program-Independent Preprocessing . May 2018 . https://ieeexplore.ieee.org/document/8418645 . 908–925 . 10.1109/SP.2018.00013. 978-1-5386-4353-2 . 41548742 .
- Book: Ben-Sasson . Eli . Chiesa . Alessandro . Tromer . Eran . Virza . Madars . 2014 . Succinct Zero Knowledge for a von Neumann Architecture . en . 781–796 . 978-1-931971-15-7.
- Kosba . Ahmed . Papadopoulos . Dimitrios . Papamanthou . Charalampos . Song . Dawn . 2020 . MIRAGE: Succinct Arguments for Randomized Algorithms with Applications to Universal zk-SNARKs . Cryptology ePrint Archive . en.
- Book: Maller . Mary . Bowe . Sean . Kohlweiss . Markulf . Meiklejohn . Sarah . Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security . Sonic . 2019-11-06 . https://doi.org/10.1145/3319535.3339817 . CCS '19 . New York, NY, USA . Association for Computing Machinery . 2111–2128 . 10.1145/3319535.3339817 . 978-1-4503-6747-9. 60442921 .
- Book: Chiesa . Alessandro . Hu . Yuncong . Maller . Mary . Mishra . Pratyush . Vesely . Noah . Ward . Nicholas . Advances in Cryptology – EUROCRYPT 2020 . Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS . Lecture Notes in Computer Science . 2020 . 12105 . Canteaut . Anne . Ishai . Yuval . https://link.springer.com/chapter/10.1007/978-3-030-45721-1_26 . en . Cham . Springer International Publishing . 738–768 . 10.1007/978-3-030-45721-1_26 . 978-3-030-45721-1. 204772154 .
- Gabizon . Ariel . Williamson . Zachary J. . Ciobotaru . Oana . 2019 . PLONK: Permutations over Lagrange-bases for Oecumenical Noninteractive arguments of Knowledge . Cryptology ePrint Archive . en.
- Book: Bünz . Benedikt . Fisch . Ben . Szepieniec . Alan . Advances in Cryptology – EUROCRYPT 2020 . Transparent SNARKs from DARK Compilers . Lecture Notes in Computer Science . 2020 . 12105 . Canteaut . Anne . Ishai . Yuval . https://link.springer.com/chapter/10.1007/978-3-030-45721-1_24 . en . Cham . Springer International Publishing . 677–706 . 10.1007/978-3-030-45721-1_24 . 978-3-030-45721-1. 204892714 .
- Book: Bünz . Benedikt . Bootle . Jonathan . Boneh . Dan . Poelstra . Andrew . Wuille . Pieter . Maxwell . Greg . 2018 IEEE Symposium on Security and Privacy (SP) . Bulletproofs: Short Proofs for Confidential Transactions and More . May 2018 . https://ieeexplore.ieee.org/document/8418611 . 315–334 . 10.1109/SP.2018.00020. 978-1-5386-4353-2 . 3337741 .
- Book: Wahby . Riad S. . Tzialla . Ioanna . Shelat . Abhi . Thaler . Justin . Walfish . Michael . 2018 IEEE Symposium on Security and Privacy (SP) . Doubly-Efficient zkSNARKs Without Trusted Setup . May 2018 . https://ieeexplore.ieee.org/document/8418646 . 926–943 . 10.1109/SP.2018.00060. 978-1-5386-4353-2 . 549873 .
- Bowe . Sean . Grigg . Jack . Hopwood . Daira . 2019 . Recursive Proof Composition without a Trusted Setup . Cryptology ePrint Archive . en.
- Book: Zhang . Jiaheng . Xie . Tiancheng . Zhang . Yupeng . Song . Dawn . 2020 IEEE Symposium on Security and Privacy (SP) . Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof . May 2020 . https://ieeexplore.ieee.org/document/9152704 . 859–876 . 10.1109/SP40000.2020.00052. 978-1-7281-3497-0 . 209467198 .
- Book: Ames . Scott . Hazay . Carmit . Ishai . Yuval . Venkitasubramaniam . Muthuramakrishnan . Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security . Ligero . 2017-10-30 . https://doi.org/10.1145/3133956.3134104 . CCS '17 . New York, NY, USA . Association for Computing Machinery . 2087–2104 . 10.1145/3133956.3134104 . 978-1-4503-4946-8. 5348527 .
- Book: Ben-Sasson . Eli . Chiesa . Alessandro . Riabzev . Michael . Spooner . Nicholas . Virza . Madars . Ward . Nicholas P. . Advances in Cryptology – EUROCRYPT 2019 . Aurora: Transparent Succinct Arguments for R1CS . Lecture Notes in Computer Science . 2019 . 11476 . Ishai . Yuval . Rijmen . Vincent . https://link.springer.com/chapter/10.1007/978-3-030-17653-2_4 . en . Cham . Springer International Publishing . 103–128 . 10.1007/978-3-030-17653-2_4 . 978-3-030-17653-2. 52832327 .
- Book: Ben-Sasson . Eli . Bentov . Iddo . Horesh . Yinon . Riabzev . Michael . Advances in Cryptology – CRYPTO 2019 . Scalable Zero Knowledge with No Trusted Setup . Lecture Notes in Computer Science . 2019 . 11694 . Boldyreva . Alexandra . Micciancio . Daniele . https://link.springer.com/chapter/10.1007/978-3-030-26954-8_23 . en . Cham . Springer International Publishing . 701–732 . 10.1007/978-3-030-26954-8_23 . 978-3-030-26954-8. 199501907 .
- Web site: Computing . Trustworthy . 2021-08-30 . Transparent Zero-Knowledge Proofs With Zilch . 2023-02-25 . Medium . en.
- Mouris . Dimitris . Tsoutsos . Nektarios Georgios . 2021 . Zilch: A Framework for Deploying Transparent Zero-Knowledge Proofs . IEEE Transactions on Information Forensics and Security . 16 . 3269–3284 . 10.1109/TIFS.2021.3074869 . 1556-6021 . 222069813.
- Uriel Feige, Dror Lapidot, Adi Shamir: Multiple Non-Interactive Zero-Knowledge Proofs Under General Assumptions. SIAM J. Comput. 29(1): 1–28 (1999)
- Jens Groth, Rafail Ostrovsky, Amit Sahai: Perfect Non-interactive Zero Knowledge for NP. EUROCRYPT 2006: 339–358
- Jens Groth, Rafail Ostrovsky, Amit Sahai: Non-interactive Zaps and New Techniques for NIZK. CRYPTO 2006: 97–111
- Jens Groth, Amit Sahai: Efficient Non-interactive Proof Systems for Bilinear Groups. EUROCRYPT 2008: 415–432
- Jens Groth. Short Pairing-Based Non-interactive Zero-Knowledge Arguments. ASIACRYPT 2010: 321–340
- Helger Lipmaa. Progression-Free Sets and Sublinear Pairing-Based Non-Interactive Zero-Knowledge Arguments. TCC 2012: 169–189