Bitcoin Core  0.18.99
P2P Digital Currency
Classes | Namespaces | Typedefs | Variables
crypter.h File Reference
#include <keystore.h>
#include <serialize.h>
#include <support/allocators/secure.h>
#include <atomic>
Include dependency graph for crypter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  CMasterKey
 Private key encryption is done based on a CMasterKey, which holds a salt and random encryption key. More...
class  CCrypter
 Encryption/decryption context with key information. More...
class  CCryptoKeyStore
 Keystore which keeps the private keys encrypted. More...




typedef std::vector< unsigned char, secure_allocator< unsigned char > > CKeyingMaterial


const unsigned int WALLET_CRYPTO_KEY_SIZE = 32
const unsigned int WALLET_CRYPTO_SALT_SIZE = 8
const unsigned int WALLET_CRYPTO_IV_SIZE = 16

Typedef Documentation

◆ CKeyingMaterial

typedef std::vector<unsigned char, secure_allocator<unsigned char> > CKeyingMaterial

Definition at line 68 of file crypter.h.

Variable Documentation


const unsigned int WALLET_CRYPTO_IV_SIZE = 16

Definition at line 16 of file crypter.h.


const unsigned int WALLET_CRYPTO_KEY_SIZE = 32

Definition at line 14 of file crypter.h.


const unsigned int WALLET_CRYPTO_SALT_SIZE = 8

Definition at line 15 of file crypter.h.