Encryption/decryption context with key information.
More...
#include <crypter.h>
Encryption/decryption context with key information.
Definition at line 70 of file crypter.h.
◆ CCrypter()
| wallet::CCrypter::CCrypter |
( |
| ) |
|
|
inline |
◆ ~CCrypter()
| wallet::CCrypter::~CCrypter |
( |
| ) |
|
|
inline |
◆ BytesToKeySHA512AES()
| int wallet::CCrypter::BytesToKeySHA512AES |
( |
const std::vector< unsigned char > & | chSalt, |
|
|
const SecureString & | strKeyData, |
|
|
int | count, |
|
|
unsigned char * | key, |
|
|
unsigned char * | iv ) const |
|
private |
◆ CleanKey()
| void wallet::CCrypter::CleanKey |
( |
| ) |
|
|
inline |
◆ Decrypt()
| bool wallet::CCrypter::Decrypt |
( |
const std::vector< unsigned char > & | vchCiphertext, |
|
|
CKeyingMaterial & | vchPlaintext ) const |
◆ Encrypt()
| bool wallet::CCrypter::Encrypt |
( |
const CKeyingMaterial & | vchPlaintext, |
|
|
std::vector< unsigned char > & | vchCiphertext ) const |
◆ SetKey()
| bool wallet::CCrypter::SetKey |
( |
const CKeyingMaterial & | chNewKey, |
|
|
const std::vector< unsigned char > & | chNewIV ) |
◆ SetKeyFromPassphrase()
| bool wallet::CCrypter::SetKeyFromPassphrase |
( |
const SecureString & | strKeyData, |
|
|
const std::vector< unsigned char > & | chSalt, |
|
|
const unsigned int | nRounds, |
|
|
const unsigned int | nDerivationMethod ) |
◆ 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: