Encryption/decryption context with key information.
More...
#include <crypter.h>
Encryption/decryption context with key information.
Definition at line 71 of file crypter.h.
◆ CCrypter()
| wallet::CCrypter::CCrypter |
( |
| ) |
|
|
inline |
◆ ~CCrypter()
| wallet::CCrypter::~CCrypter |
( |
| ) |
|
|
inline |
◆ BytesToKeySHA512AES()
| int wallet::CCrypter::BytesToKeySHA512AES |
( |
std::span< const unsigned char > | salt, |
|
|
const SecureString & | key_data, |
|
|
int | count, |
|
|
unsigned char * | key, |
|
|
unsigned char * | iv ) const |
|
private |
◆ CleanKey()
| void wallet::CCrypter::CleanKey |
( |
| ) |
|
|
inline |
◆ Decrypt()
| bool wallet::CCrypter::Decrypt |
( |
std::span< const unsigned char > | ciphertext, |
|
|
CKeyingMaterial & | plaintext ) const |
◆ Encrypt()
| bool wallet::CCrypter::Encrypt |
( |
const CKeyingMaterial & | vchPlaintext, |
|
|
std::vector< unsigned char > & | vchCiphertext ) const |
◆ SetKey()
| bool wallet::CCrypter::SetKey |
( |
const CKeyingMaterial & | new_key, |
|
|
std::span< const unsigned char > | new_iv ) |
◆ SetKeyFromPassphrase()
| bool wallet::CCrypter::SetKeyFromPassphrase |
( |
const SecureString & | key_data, |
|
|
std::span< const unsigned char > | salt, |
|
|
unsigned int | rounds, |
|
|
unsigned int | derivation_method ) |
◆ wallet_crypto_tests::TestCrypter
| friend class wallet_crypto_tests::TestCrypter |
|
friend |
◆ fKeySet
| bool wallet::CCrypter::fKeySet |
|
private |
◆ vchIV
| std::vector<unsigned char, secure_allocator<unsigned char> > wallet::CCrypter::vchIV |
|
private |
◆ vchKey
| std::vector<unsigned char, secure_allocator<unsigned char> > wallet::CCrypter::vchKey |
|
private |
The documentation for this class was generated from the following files: