We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bip-schnorr/src/schnorr.js
Line 32 in b6479ec
To simplify, you have if (auxRand is present) { use auxRand } else { deterministicGetK0() }
if (auxRand is present) { use auxRand } else { deterministicGetK0() }
Specification https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki#default-signing says use auxRand should always be used. deterministicGetK0 is some weird workaround that should not be present. Also it reduces security.
use auxRand
deterministicGetK0
The text was updated successfully, but these errors were encountered:
auxRand
Hi @guggero. Could you please run this test?
git clone https://github.com/landabaso/sign_schnorr_test.git cd sign_schnorr_test npm install npm run test
For some reason, results differ when auxRand is 32 0x00 bytes than when auxRand is not passed.
Sorry, something went wrong.
No branches or pull requests
bip-schnorr/src/schnorr.js
Line 32 in b6479ec
To simplify, you have
if (auxRand is present) { use auxRand } else { deterministicGetK0() }
Specification https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki#default-signing says
use auxRand
should always be used.deterministicGetK0
is some weird workaround that should not be present. Also it reduces security.The text was updated successfully, but these errors were encountered: