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
Any suggestions on how to implement public key recovery with WebCrypto ECDSA?
How is (r,s) encoded in the output buffer of sign? Is it just r = [0,32) and s = [32,64) for curve = P-256 (docs) ?
sign
r = [0,32)
s = [32,64)
curve = P-256
Seams like elliptic.js implements the recovery and it should be possible to import the recovered public key via jwk back into WebCrypto ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Any suggestions on how to implement public key recovery with WebCrypto ECDSA?
How is (r,s) encoded in the output buffer of
sign
?Is it just
r = [0,32)
ands = [32,64)
forcurve = P-256
(docs) ?Seams like elliptic.js implements the recovery and it should be possible to import the recovered public key via jwk back into WebCrypto ...
The text was updated successfully, but these errors were encountered: