# Functions
DecryptKey decrypts a key from a JSON blob, returning the private key itself.
EncryptKey encrypts a key using the specified scrypt parameters into a JSON blob that can be decrypted later on.
Keccak256 calculates and returns the Keccak256 hash of the input data.
NewKey generates a new random key.
NewKeyFromBLS creates a new keystore Key type using a BLS private key.
# Constants
LightScryptN is the N parameter of Scrypt encryption algorithm, using 4MB memory and taking approximately 100ms CPU time on a modern processor.
LightScryptP is the P parameter of Scrypt encryption algorithm, using 4MB memory and taking approximately 100ms CPU time on a modern processor.
# Variables
ErrDecrypt is the standard error message when decryption is a failure.