Web3S_Demo > Web 3S Ecdsa Secp 256k 1Function Library > Is Private Key Valid (secp256k1)

Is Private Key Valid (secp256k1)

Checks if the given private key is valid for secp256k1.

Inputs

Private Key
Array of Bytes

The private key to validate.

Outputs

Is Valid
Boolean

True if the given private key is valid for secp256k1.