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

add interface for zero knowledge interval proof #16

Open
omershlo opened this issue Feb 19, 2019 · 0 comments
Open

add interface for zero knowledge interval proof #16

omershlo opened this issue Feb 19, 2019 · 0 comments

Comments

@omershlo
Copy link
Contributor

prove that a pedersen commitment is to a value a<x<b.
If b-a is a power of 2 this can be done non interactively with only one range proof assuming the:

  1. prover commits to a value a<x<b
  2. prover generates a pedersen commitment to a value a
  3. prover generates a range proof to commitment that is commitment from 1 minus commitment from 2
  4. prover sends range proof together with the opening of the commitment from 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant