clan::AES256_Encrypt Class Reference

AES-256 encryption class (running in Cipher Block Chaining mode) More...

#include <aes256_encrypt.h>

Public Member Functions

Construction
 AES256_Encrypt ()
 Constructs a AES-256 generator (running in Cipher Block Chaining mode) More...
 
Attributes
DataBuffer get_data () const
 Get encrypted data. More...
 

Operations

static const int iv_size = 16
 
static const int key_size = 32
 
static const int block_size = 16
 
void reset ()
 Resets the encryption. More...
 
void set_iv (const unsigned char iv[iv_size])
 Sets the initialisation vector. More...
 
void set_key (const unsigned char key[key_size])
 Sets the cipher key. More...
 
void set_padding (bool value=true, bool use_pkcs7=true, unsigned int num_additional_padded_blocks=0)
 Enable AES Padding. More...
 
void add (const void *data, int size)
 Adds data to be encrypted. More...
 
void add (const DataBuffer &data)
 Add data to be encrypted. More...
 
void calculate ()
 Finalize encryption. More...
 

Detailed Description

AES-256 encryption class (running in Cipher Block Chaining mode)


The documentation for this class was generated from the following file: