package
0.3.10
Repository: https://github.com/prysmaticlabs/go-ethereum.git
Documentation: pkg.go.dev

# Functions

DecryptKey decrypts a key from a json blob, returning the private key itself.
DepositInput for a given key.
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.
NewKeystore from a directory.
RetrievePubKey retrieves the public key from the keystore.
StoreRandomKey generates a key, encrypts with 'auth' and stores in the given directory.

# 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.
StandardScryptN is the N parameter of Scrypt encryption algorithm, using 256MB memory and taking approximately 1s CPU time on a modern processor.
StandardScryptP is the P parameter of Scrypt encryption algorithm, using 256MB memory and taking approximately 1s CPU time on a modern processor.

# Variables

ErrDecrypt is the standard error message when decryption is a failure.

# Structs

Key is the object that stores all the user data related to their public/secret keys.
Store defines a keystore with a directory path and scrypt values.