Bitcoin
|
#include <wallet/crypter.h>
#include <crypto/aes.h>
#include <crypto/sha512.h>
#include <script/script.h>
#include <script/standard.h>
#include <util/system.h>
#include <string>
#include <vector>
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 | ||
) |
bool DecryptSecret | ( | const CKeyingMaterial & | vMasterKey, |
const std::vector< unsigned char > & | vchCiphertext, | ||
const uint256 & | nIV, | ||
CKeyingMaterial & | vchPlaintext | ||
) |
bool EncryptSecret | ( | const CKeyingMaterial & | vMasterKey, |
const CKeyingMaterial & | vchPlaintext, | ||
const uint256 & | nIV, | ||
std::vector< unsigned char > & | vchCiphertext | ||
) |