nn::crypto::Aes Classtemplate <size_t KeySize> class Aes : public nn::crypto::BlockCipher
| Name | Description |
|---|---|
| KeySize | Key size in bytes. |
Class for implementing AES ciphers.
Derived class from the BlockCipher class. Implements the AES (Rijndael) cipher.
You should not use the Encrypt or Decrypt functions in this class unless you know enough about encryption and have a firm understanding of what you are doing.
This class is a template class that has the key size as a template parameter. Use the Aes128, Aes192, or Aes256 types when actually using.
| S |
BLOCK_SIZE
|
const size_t | Constant representing the block size. |
|---|---|---|---|
| S |
KEY_SIZE
|
const size_t | Constant representing the key size. |
| V |
GetBlockSize
|
Gets the block size. |
|---|---|---|
| V |
GetKeySize
|
Gets the key size in bytes. |
| V |
SetKey
|
Sets the key. |
| V |
Encrypt
|
Encrypts using the AES algorithm. |
| V |
Decrypt
|
Decrypts using the AES algorithm. |
nn::crypto::BlockCipher
nn::crypto::Aes
CONFIDENTIAL