matter-labs / awesome-zero-knowledge-proofs

A curated list of awesome things related to learning Zero-Knowledge Proofs (ZKP).
Other
5.08k stars 829 forks source link

Question: Can zero knowledge proofs be used to verify the contents of a cipher text? #40

Open mfbx9da4 opened 2 years ago

mfbx9da4 commented 2 years ago

Hey,

Trying to get to grips with zero-knowledge proofs. They seem to be useful for verifying that a user knows a value but can they be used to verify the contents of a cipher text?

What I'm looking for ultimately is some function f which is able to inspect a cipher text and verify that it encrypts a particular plain text x.

Hash(x) = f(Encrypt(x))

More details about my question here

Sorry if this question is not welcome here. I have been struggling with this question for a while and if anybody might have a definitive answer, thought it might be an author of this repo.

Thanks