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

Update documentation. #16

Open
Erebus9456 opened this issue Sep 13, 2023 · 0 comments
Open

Update documentation. #16

Erebus9456 opened this issue Sep 13, 2023 · 0 comments

Comments

@Erebus9456
Copy link

from pybulletproofs import zkrp_prove, zkrp_verify

proof1, comm1, _ = zkrp_prove(2022, 32)
proof2, comm2, _ = zkrp_prove(2023, 32)

assert zkrp_verify(proof1, comm1)
assert !zkrp_verify(proof2, comm1)

This gives an error,
if I remove "!" then it gives another error that bitsize is not given by adding "32" in verify 's params, the program runs successfully.

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