Base class for encryptor/decryptor classes More...
Public Member Functions | |
void | Init (byte[] encryptionSecret, byte[] hmacSecret) |
Initialize More... | |
void | Dispose () |
Static Public Attributes | |
const int | BLOCK_SIZE = 16 |
Defines block size for encryption/decryption algorithm More... | |
const int | IV_SIZE = BLOCK_SIZE |
Defines IV size for encryption/decryption algorithm More... | |
const int | HMAC_SIZE = 32 |
Defines HMAC size for packet authentication algorithm More... | |
Protected Attributes | |
Aes | encryptor |
Encryption/decryption algorithm implementation More... | |
HMACSHA256 | hmacsha256 |
Packet authentication algorithm impelmenation More... | |
Base class for encryptor/decryptor classes
|
inline |
|
inline |
Initialize
encryptionSecret | |
hmacSecret |
|
static |
Defines block size for encryption/decryption algorithm
|
protected |
Encryption/decryption algorithm implementation
|
static |
Defines HMAC size for packet authentication algorithm
|
protected |
Packet authentication algorithm impelmenation
|
static |
Defines IV size for encryption/decryption algorithm