Module emerald_rs::keystore[][src]

Structs

CoreCrypto

Keyfile related crypto attributes

HdwalletCrypto

Keyfile for HD Wallet

Iv
KdfParams

Key derivation function parameters

KeyFile

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

Mac
Salt
SerializableKeyFileCore

A serializable keystore file (UTC / JSON format)

SerializableKeyFileHD

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

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

Functions

os_random

Create random number generator

try_extract_address

Try to extract Address from JSON formatted text