Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zero-knowledge proof for correct construction of ciphertext #4

Open
omershlo opened this issue Nov 30, 2018 · 0 comments
Open

zero-knowledge proof for correct construction of ciphertext #4

omershlo opened this issue Nov 30, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@omershlo
Copy link
Contributor

To prove a ciphertext is constructed correctly such that :
C = Enc(m,r) = g^m r^N mod N^2

  1. Verifier commits to a random string com(e) of length t bits
  2. Prover creates t encryptions using {m_i , r_i} and sends to the Verifier the vector of encryptions [C_1,...,C_t]
  3. Verifier decommits to e
    4.1) if e_i = 0: the Prover sends {m_i , r_i}
    4.2) if e_i= 1: the Prover sends {m', r'} = {m + m_i, r*r_i}
  4. Verifier checks C_i = Enc{m_i, r_i} for zero bits and Enc(m', r') = C*C_i otherwise

C is constructed correctly with probability 1-1/2^t

@omershlo omershlo added the enhancement New feature or request label Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant