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

Is Public Key Valid (secp256k1)

Checks if the given public key is valid for secp256k1.

Inputs

Public Key
Array of Bytes

The public key to validate.

Outputs

Is Valid
Boolean

True if the given public key is valid for secp256k1.