bitauth / libauth

An ultra-lightweight, zero-dependency TypeScript library for Bitcoin Cash, Bitcoin, and Bitauth applications.

Home Page:https://libauth.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generatePrivateKey only has one parameter (secureRandom) and not two parameters (secp256k1, secureRandom) as indicated in the documentation.

quentinadam opened this issue · comments

See implementation of function :

export const generatePrivateKey = (secureRandom: () => Uint8Array) => {

API documentation :

https://libauth.org/globals.html#generateprivatekey