Module emerald_core::keystore [] [src]

Structs

CoreCrypto
HdwalletCrypto

Keyfile for HD Wallet

Iv
KeyFile

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

Mac
Salt

Enums

Cipher

Cipher type

CryptoType

Enum for two variants of crypto section in Keyfile

Error

Keystore file errors

Kdf

Key derivation function

KdfDepthLevel

Security level for Kdf

Prf

Pseudo-Random Functions (PRFs)

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

decode_str

Decode string for JSON deserialization

hide

Hides account for given address from being listed

list_accounts

Lists addresses for Keystore files in specified folder. Can include hidden files if flag set.

os_random

Create random number generator

unhide

Unhides account for given address from being listed