[][src]Module ethereum_keystore::keystore

Structs

AccountInfo
CoreCrypto

Keyfile related crypto attributes

Iv
KdfParams

Key derivation function parameters

KeyFile

A keystore file (account private core encrypted with a passphrase)

Keystore

Filesystem storage for KeyFiles

Mac
Salt
SerializableKeyFileCore

A serializable keystore file (UTC / JSON format)

Enums

Cipher

Cipher type

CryptoType

Variants of crypto section in Keyfile

Error

Keystore file errors

Kdf

Key derivation function

KdfDepthLevel

Security level for Kdf

KeystoreError
Prf

Pseudo-Random Functions (PRFs)

SerializeError

Keystore file serialize errors

Constants

CIPHER_IV_BYTES

Cipher initialization vector length in bytes

KDF_SALT_BYTES

Key derivation function salt length in bytes

PBKDF2_KDF_NAME

PBKDF2 key derivation function name

Traits

KeyfileStorage

Functions

generate_filename
os_random

Create random number generator

save_keyfile
try_extract_address

Try to extract Address from JSON formatted text