October 8, 2019
Dimitris Kolonelos
We consider the problem of proving in zero knowledge that an element of a public set satisfies a given property without disclosing the element, i.e. that for some u, “u ∈ S and P(u) holds”. This problem arises in many applications (anonymous cryptocurrencies, credentials or whitelists) where, for privacy or anonymity reasons, it is crucial to hide certain data while ensuring properties of such data. We design new modular and efficient constructions for this problem through new commit-and- prove zero-knowledge systems for set membership, i.e. schemes proving u ∈ S for a value u that is in a public commitment c_u . Being commit-and-prove, our solutions can act as plug-and-play modules in statements of the form “u ∈ S and P(u) holds” (by combining our set membership system with any other commit-and-prove scheme for P(u)). Also, they work with Pedersen commitments over prime order groups which makes them compatible with popular systems such as Bulletproofs or Groth16. Both public parameters and proofs in our solutions have constant-size (i.e., independent of the size of the sets). Compared to previous work that achieves similar properties—Camenisch and Lysyanskaya (CRYPTO 2002) and the clever techniques combining zkSNARKs and Merkle Trees in Zcash—our protocols offer more flexibility and 4× faster proving time for a set of size 2^60.