![]() |
Bitcoin ABC 0.32.4
P2P Digital Currency
|
#include <wallet/crypter.h>#include <common/system.h>#include <crypto/aes.h>#include <crypto/sha512.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< uint8_t > &vchCiphertext) |
| bool | DecryptSecret (const CKeyingMaterial &vMasterKey, const std::vector< uint8_t > &vchCiphertext, const uint256 &nIV, CKeyingMaterial &vchPlaintext) |
| bool | DecryptKey (const CKeyingMaterial &vMasterKey, const std::vector< uint8_t > &vchCryptedSecret, const CPubKey &vchPubKey, CKey &key) |
| bool DecryptKey | ( | const CKeyingMaterial & | vMasterKey, |
| const std::vector< uint8_t > & | vchCryptedSecret, | ||
| const CPubKey & | vchPubKey, | ||
| CKey & | key | ||
| ) |
Definition at line 146 of file crypter.cpp.
| bool DecryptSecret | ( | const CKeyingMaterial & | vMasterKey, |
| const std::vector< uint8_t > & | vchCiphertext, | ||
| const uint256 & | nIV, | ||
| CKeyingMaterial & | vchPlaintext | ||
| ) |
Definition at line 134 of file crypter.cpp.
| bool EncryptSecret | ( | const CKeyingMaterial & | vMasterKey, |
| const CKeyingMaterial & | vchPlaintext, | ||
| const uint256 & | nIV, | ||
| std::vector< uint8_t > & | vchCiphertext | ||
| ) |
Definition at line 121 of file crypter.cpp.