libauth
libauth copied to clipboard
generatePrivateKey only has one parameter (secureRandom) and not two parameters (secp256k1, secureRandom) as indicated in the documentation.
See implementation of function :
https://github.com/bitauth/libauth/blob/d41f3cc7dfcbefe8a8bd04ce855122836eb47417/src/lib/key/key-utils.ts#L70
API documentation :
https://libauth.org/globals.html#generateprivatekey