diff --git a/README.md b/README.md index 41da50f..42d8330 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,8 @@ const secp256k1 = require('secp256k1') // if you want to use pure js implementation in node // generate message to sign +// message should have 32-byte length, if you have some other length you can hash message +// for example `msg = sha256(rawMessage)` const msg = randomBytes(32) // generate privKey