7 #ifndef BITCOIN_CRYPTO_AES_H 8 #define BITCOIN_CRYPTO_AES_H 26 void Encrypt(
unsigned char ciphertext[16],
const unsigned char plaintext[16])
const;
38 void Decrypt(
unsigned char plaintext[16],
const unsigned char ciphertext[16])
const;
46 int Encrypt(
const unsigned char* data,
int size,
unsigned char* out)
const;
59 int Decrypt(
const unsigned char* data,
int size,
unsigned char* out)
const;
67 #endif // BITCOIN_CRYPTO_AES_H
AES256Encrypt(const unsigned char key[32])
static const int AES256_KEYSIZE
A decryption class for AES-256.
void Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const
An encryption class for AES-256.
static const int AES_BLOCKSIZE