Master key for wallet encryption

Synopsis

Declared in <wallet/crypter.h>

class CMasterKey;

Member Functions

Name

Description

CMasterKey [constructor]

Constructs a master key with the default derivation method and iteration count.

Data Members

Name

Description

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

Name

Description

DEFAULT_DERIVE_ITERATIONS

Default/minimum number of key derivation rounds

Created with MrDocs