Skip to main content

isValidPrivate

Callable

  • isValidPrivate(privateKey: Buffer): boolean

  • Checks if the private key satisfies the rules of the curve secp256k1.


    Parameters

    • privateKey: Buffer

    Returns boolean