wallet::CMasterKey

Master key for wallet encryption

Synopsis

Declared in <wallet/crypter.h>

class CMasterKey;

Member Functions

NameDescription
CMasterKey [constructor]Constructs a master key with the default derivation method and iteration count.

Data Members

NameDescription
nDerivationMethod 0 = EVP_sha512()
nDeriveIterations Number of rounds used to derive the key from the passphrase.
vchCryptedKey The master key encrypted with AES-256-CBC using the passphrase-derived key.
vchOtherDerivationParameters Use this for more parameters to key derivation (currently unused)
vchSalt Random salt mixed into the passphrase during key derivation.

Static Data Members

NameDescription
DEFAULT_DERIVE_ITERATIONS Default/minimum number of key derivation rounds