Zero Knowledge Proof (ZKP) has a particularly important history in cryptocurrencies since it was first implemented in Zerocoin and ZeroCash. While early implementations were aimed at broad privacy, ZKP is only now beginning to be used for many more powerful functions than just obfuscating. For example, Zkrollups achieves greater transaction throughput on Ethereum, and recursive proof constructs such as Halo are being used to create compressed blockchains; Such as "necessary work to prove" (https://eprint.iacr.org/2020/190.pdf), the proposal using zkSNARK the consensus of functions in the network layer provides security; With structures such as Zexe, ZKP makes it possible to do out-of-chain computing and even entirely new programming models.
"Zero-knowledge proof" is often cited as a whole, but it's important to remember that there are many different types of ZKPs. Strictly speaking, the ZKP scheme is a scheme that provides a "zero knowledge" nature, in which the verifier of the proof is given no knowledge of how the statement to be proved is proved. ZKP can be interactive, in which the verifier can directly interact with the verifier; It can also be non-interactive, where the prover can generate the proof independently. There are several classes of non-interactive ZKPs that satisfy this condition, including:
1. Non-interactive zero-knowledge demonstration (NIZK)
2. Concise non-interactive zero-knowledge argumentation (SNARG)
3. Concise non-interactive zero-knowledge knowledge demonstration (SNARK or ZKSNARK)
Zksnark is most relevant to cryptocurrencies due to its simplicity and efficiency. The first Snark for production environments was based on Pinocchio, originally used in Zcash. Since then, Zcash and several other projects have adopted the ZKsnark described by Jens Groth in his 2016 paper "Groth16".
Despite its popularity, Zksnark has two major drawbacks.
First, a non-generic Zksnark (such as Groth16) is specific to a given NP relationship. In other words, the proof is specific to a fixed procedure, thereby limiting the flexibility of the scheme. Second, generating and validating any Zksnark proof requires that a common reference string (CRS) be generated beforehand. This process can be thought of as creating a secret that only the system "knows" and anyone who knows how to generate a CRS can falsify the proof, thus undermining reliability.
Academic research on generic SNARKS (e.g. Marlin, Plonk, etc.) has largely addressed the first question, but even these schemes still require CRS. There are indeed zero-knowledge proof constructs that do not require CRS, such as Starks (Extensible Transparent Knowledge Demonstration) and Bullets Proofs. However, while they all have good applications, Zksnark (especially non-generic SNARK, such as Groth16) cannot be surpassed from the point of view of proof size and validation speed. Zksnark's validation is constant time, which is particularly useful for cryptocurrencies. This means that the amount of work the verifier must do to check the proof remains the same regardless of the size of the statement to be proved.
Therefore, Zksnark remains the tool of choice for many privacy-oriented blockchain applications. However, the security of these systems largely boils down to the security generated by CRS. So the way CRs are safely generated in so-called "setup ceremonies" will continue to be important. Of course, it is possible to generate these parameters in a trusted centralized manner, but this is incompatible with the goal of decentralization. So far, the preferred technique used in the Zksnark setup ceremony has been multi-party computing (MPC).
The MPC scheme attempts to ensure that no party can generate or obtain knowledge of the underlying mathematical structure of the CRS. It achieves this by requiring the generation process to be shared among as many independent participants as possible, with only a few people (or even one person) having to act honestly to ensure that the setup is secure. In 2015, Eli Ben-Sasson, Alessandro Chiesa, Matthew Green, Eran Tromer, and Madars Virza proposed an improved MPC structure where even if all but one of the participants were corrupt, It can also generate security parameters. Zcash uses this scheme to generate CRs for the first version of Zcash, "Sprout". Despite its novelty, attending the ceremony is cumbersome and limited to experts who can be trusted to perform it correctly. In addition, due to the limited level of participation, it is widely believed that the level of trust required remains too high and contradicts Zksnark's ideal of a decentralized system designed to ensure security.
Since then, the goal of setting up rituals has been to maximize the number of honest and independent participants who can participate in the program. Because if there are many independent participants, then intuitively, the likelihood that all of them will be dishonest will be reduced to negligible levels. Therefore, the goal of technological innovation is to expand the capacity of these ceremonies to support as many participants as possible.
One problem with the earlier scheme described above is that the number of participants must be known in advance. Sean Bowie, Ariel Gabizon, and Ian Miers in their 2017 MMORPG paper describe a variant of the MPC ritual set up by Groth16, consisting of two stages. We now refer to the first stage as the "Powers of Tau", which is a general setting for all circuits of a given size or less. The second phase converts the output of the Powers of Tau phase into relationship-specific CRS. In this scenario, the coordinator is used to manage messages between participants. This extends the process, theoretically enabling it to support hundreds or even thousands of participants. Despite the presence of the coordinator, the output of the MPC can be independently verified, thus maintaining security. Since the paper was first published, the Powers of Tau ritual has become an industry standard. Things like Filecoin, Ethereum (Semaphore), and Zcash (" Sapling ") all use it to generate CRS for their systems.
The following diagram visually depicts the Powers of Tau ritual.

Despite its relative popularity, the drawback of MMORPGs is that setup is still a serial process. More specifically, individual participants of the MPC ceremony can only attend one at a time. Because CRS is linearly related to the size of the circuit, a single contribution may take a long time, so the setting ceremony is unlikely to attract participants. Recently, Justin Drake of the Ethereum Foundation proposed a scenario called "optimistic pipelining". The key insight is that contributions can be applied simultaneously to different parts of the CRS, thus enabling participants to perform MMORPG ritual contributions together. Thus, participants can simultaneously contribute to a given round without having to wait for their turn. We describe the setting using this method as "optimistic setups". CELO's recent inaugural ceremonyPlumo This scheme has been used, as has the setup ceremony that Aleo is going to use.
Beyond pure decentralization and security concerns, teams increasingly see the rituals themselves as their products. For example,Tornado.cash A set-up ceremony was run that enabled users to contribute directly from the Web browser, resulting in a record 1114 participants. The success of Tornado setup shows that compared to previous rituals that were considered necessary evils, modern setup rituals put the user experience first and in the middle, not only encouraging more contributions, but can be seen as products in themselves.
The operation of these rituals has become much simpler. The original MMORPG scenario used a central "coordinator" to manage messages between participants and assemble the communication scripts. Historically, this role has been performed manually. Recently, however, the teams have to automate this process inputs (see Celo Plumo rituals and ESPERO: https://www.youtube.com/watch?v=LKbDNc-LrA4. This not only reduces the intensity from a human resources point of view, but also makes the ceremony safer by reducing the possibility of errors.
For an explanation of how optimistic Settings work, see the following figure.

Although many argue that the requirement to generate CRS is a key drawback of ZKSNARK, its efficiency advantages over other ZKP solutions cannot be ignored at this time. That's why they remain the industry standard, and why so many teams and researchers have developed and improved these rituals to the present day. As a result of improved protocol efficiency, improved user experience, and automation of tasks such as the coordinator, it is now easier than ever to participate in setup ceremonies, as reflected in the number of participants in recent ceremonies. While the original Zcash ceremony had only six participants, modern ceremonies offer many times more support. And since securing CRS requires only one honest participant, more participants generally equals more security, because each independent participant that joins makes a complete collusion more unthinkable.
Indeed, even if a CRS is ritualized, the declaration of security is not mathematically possible. However, many cryptographic systems are based on somewhat abstract assumptions. For example, we are confident that SHA-256 is an anti-collision hash function because no one has found collisions yet, not because of any mathematical proof (in fact, mathematics allows us to prove the opposite: that collisions must exist). But SHA256 is widely used because the chance of a collision is so low that it doesn't need to be considered.
同样,很难(读作:不可能)试图确定参加设置仪式的每个参与者诚实运行的平均概率,从而以数学方式证明生成的系统是安全的。但是,随着参与者数量的增加,即使与广泛使用的密码方案以及与关于参与者的极为悲观的假设相比,这些几率也趋于逐渐减小。实际上,参与者的数量类似于安全参数
λ
Innovations that make setting rituals more efficient reflect the amazing pace of ZKP research. Solutions are becoming more and more effective, making applications practical and encouraging further innovation and development. This leads to an improved ZKP curve similar to Moore's law. There are even so-called "transparent" Zksnark (e.g. Fractal And & have spentSuperSonic), eliminating the need for trusted Settings. Despite these innovations, the high efficiency of existing Zksnarks such as Groth16 means that they are likely to remain in use for years to come. Setting up rituals can provide opportunities for collaborative communities and projects that are implementing them. They therefore represent an opportunity to be embraced, not a necessary evil to be overcome.
Welcome to join the official BlockBeats community:
Telegram Subscription Group: https://t.me/theblockbeats
Telegram Discussion Group: https://t.me/BlockBeats_App
Official Twitter Account: https://twitter.com/BlockBeatsAsia