README
This commit is contained in:
parent
4be208e4b2
commit
ddad219e7a
@ -91,6 +91,7 @@ const pub2 = secp256k1.getPublicKey(privHex);
|
||||
#### ECDSA public key recovery & extra entropy
|
||||
|
||||
```ts
|
||||
// const sig = secp256k1.Signature.fromCompact(sigHex); // or .fromDER(sigDERHex)
|
||||
sig.recoverPublicKey(msg).toRawBytes(); // === pub; // public key recovery
|
||||
|
||||
// extraEntropy https://moderncrypto.org/mail-archive/curves/2017/000925.html
|
||||
|
Loading…
Reference in New Issue
Block a user