From ddad219e7aaa2532a04e512ebb5caf4589febba4 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Wed, 13 Sep 2023 23:29:05 +0200 Subject: [PATCH] README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c6451be..4070210 100644 --- a/README.md +++ b/README.md @@ -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