#include <DataBlockEncryptor.h>
Public Member Functions | |
| DataBlockEncryptor () | |
| ~DataBlockEncryptor () | |
| bool | IsKeySet (void) const |
| void | SetKey (const unsigned char key[16]) |
| void | UnsetKey (void) |
| void | Encrypt (unsigned char *input, int inputLength, unsigned char *output, int *outputLength) |
| bool | Decrypt (unsigned char *input, int inputLength, unsigned char *output, int *outputLength) |
Protected Attributes | |
| AES128 | secretKeyAES128 |
| bool | keySet |
|
|
Default Constructor |
|
|
Destructor |
|
||||||||||||||||||||
|
Decrypt removes bytes, as few as 6. Output should be large enough to hold this. Output can be the same memory block as input
|
|
||||||||||||||||||||
|
Encrypt adds up to 15 bytes. Output should be large enough to hold this. Output can be the same memory block as input
|
|
|
Test if encryption/decryption key are set
|
|
|
Set the encryption key
|
|
|
Unset the encryption key |
|
|
True if a key is set |
|
|
The encryption / decryption key |
1.4.2