![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
#include <wallet/crypter.h>#include <crypto/aes.h>#include <crypto/sha512.h>#include <util/system.h>#include <vector>Go to the source code of this file.
Functions | |
| bool | EncryptSecret (const CKeyingMaterial &vMasterKey, const CKeyingMaterial &vchPlaintext, const uint256 &nIV, std::vector< unsigned char > &vchCiphertext) |
| bool | DecryptSecret (const CKeyingMaterial &vMasterKey, const std::vector< unsigned char > &vchCiphertext, const uint256 &nIV, CKeyingMaterial &vchPlaintext) |
| bool | DecryptKey (const CKeyingMaterial &vMasterKey, const std::vector< unsigned char > &vchCryptedSecret, const CPubKey &vchPubKey, CKey &key) |
| bool DecryptKey | ( | const CKeyingMaterial & | vMasterKey, |
| const std::vector< unsigned char > & | vchCryptedSecret, | ||
| const CPubKey & | vchPubKey, | ||
| CKey & | key | ||
| ) |
Definition at line 127 of file crypter.cpp.
| bool DecryptSecret | ( | const CKeyingMaterial & | vMasterKey, |
| const std::vector< unsigned char > & | vchCiphertext, | ||
| const uint256 & | nIV, | ||
| CKeyingMaterial & | vchPlaintext | ||
| ) |
Definition at line 117 of file crypter.cpp.
| bool EncryptSecret | ( | const CKeyingMaterial & | vMasterKey, |
| const CKeyingMaterial & | vchPlaintext, | ||
| const uint256 & | nIV, | ||
| std::vector< unsigned char > & | vchCiphertext | ||
| ) |
Definition at line 107 of file crypter.cpp.