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

Test Jacobi of R #18

Open
omershlo opened this issue Aug 6, 2018 · 0 comments
Open

Test Jacobi of R #18

omershlo opened this issue Aug 6, 2018 · 0 comments

Comments

@omershlo
Copy link
Contributor

omershlo commented Aug 6, 2018

see: https://github.com/sipa/bips/blob/bip-schnorr/bip-schnorr.mediawiki
in sign:

if jacobi(R[1]) != 1:
      k = n - k

in verify:

    if R is None or jacobi(R[1]) != 1 or R[0] != r:
        return False
@omershlo omershlo changed the title test Jacobi of R Test Jacobi of R Aug 6, 2018
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