paulmillr / noble-curves

Audited & minimal JS implementation of elliptic curve cryptography.
https://paulmillr.com/noble
MIT License
664 stars 62 forks source link

recoverPublicKey not in your library ? #97

Closed L1xus closed 11 months ago

L1xus commented 11 months ago

I want to recover the publickey from a signature using the guide you provided in your README sig.recoverPublicKey(msg); but I get the error saying TypeError: Signature.recoverPublicKey is not a function .

I checked the library and I couldn't find it!

is there any other way to recover the publicKey from the signature ?

paulmillr commented 11 months ago

read README more carefully, including comments: https://github.com/paulmillr/noble-curves#ecdsa-public-key-recovery--extra-entropy