# Functions
BytesToPrivateKey converts a byte slice to SECP256K1 PrivateKey.
BytesToPublicKey converts a byte slice to SECP256K1 PublicKey.
GenerateKey generates a SECP256K1 PrivateKey.
HexStringToPrivateKey decodes a string to SECP256K1 PrivateKey.
HexStringToPublicKey decodes a string to SECP256K1 PublicKey.
KeystoreToPrivateKey generates PrivateKey from Keystore account.
StringToPubKeyBytes converts a string of public key to byte slice.
# Variables
ErrInvalidKey is the error that the key format is invalid.
ErrPrivateKey indicates the error of private key.
ErrPublicKey indicates the error of public key.