# Functions
No description provided by the author
DecryptKey decrypts a key from a json blob, returning the private key itself.
Encryptdata encrypts the data given as 'data' with the password 'auth'.
EncryptKey encrypts a key using the specified scrypt parameters into a json blob that can be decrypted later on.
NewKeyForDirectICAP generates a key whose address fits into < 155 bits so it can fit into the Direct ICAP spec.
NewKeyStore creates a keystore for the given directory.
NewPlaintextKeyStore creates a keystore for the given directory.
StoreKey generates a key, encrypts with 'auth' and stores in the given directory.
# Constants
KeyStoreScheme is the protocol scheme prefixing account and wallet URLs.
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
ErrAccountAlreadyExists is returned if an account attempted to import is already present in the keystore.
No description provided by the author
No description provided by the author
No description provided by the author
KeyStoreType is the reflect type of a keystore backend.
# Structs
AmbiguousAddrError is returned when attempting to unlock an address for which more than one file exists.
No description provided by the author
No description provided by the author
KeyStore manages a key storage directory on disk.