Score:2

Zero Knowledge Proof: groth16. Can prover key be public?

in flag

Here is quote from gnark documenation.

Note that careful consideration must be given to this step in production environment. groth16.Setup uses some randomness to precompute the Proving and Verifying keys. If the process or machine leaks this randomness, an attacker could break the ZKP protocol.

It sounds like there is some randomness in setup process. I would share Verifying key. So it is more like PublicKey. But do I have to keep Proving key in secret and desctoy it later?

PS Are Prover and Verifier keys are something that is called "public paramters" ?

Score:2
ru flag

Yes. Prover key can be public.

https://consensys.net/blog/developers/introduction-to-zk-snarks/

The key generator G takes a secret parameter lambda and a program C, and generates two publicly available keys, a proving key pk, and a verification key vk.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.