Encryption/decryption context with key information
Declared in <wallet/crypter.h>
class CCrypter;
| Name | Description |
|---|---|
CCrypter [constructor] | Constructs an unset crypter with buffers sized for the key and IV. |
~CCrypter [destructor] | Wipes the key material from memory on destruction. |
CleanKey | Wipes the key and IV from memory and marks the context as unset. |
Decrypt | Decrypts ciphertext into key material with the configured key and IV. |
Encrypt | Encrypts plaintext key material with the configured key and IV. |
SetKey | Sets the encryption key and IV directly. |
SetKeyFromPassphrase | Derives the encryption key and IV from a passphrase and salt. |
| Name | Description |
|---|---|
wallet::wallet_crypto_tests::TestCrypter | Test fixture granting access to CCrypter internals. |