#include <rijndael.h>
Decrypt a block of 16 bytes.
- Parameters
-
[in] | ciphertext | The 16 bytes block of data to decrypt. |
[out] | plaintext | Space to store the 16 bytes result block. |
Encrypt a block of 16 bytes.
- Parameters
-
[in] | plaintext | The 16 bytes block to encrypt. |
[out] | ciphertext | Space to store the 16 bytes of encrypted data. |
Crypto base PRNG.
Based on wall-clock value and current key, but should be a crypto-secure generator.
Initialize decryption state.
- Parameters
-
[in] | key | AES key, where length is: keybits number of bytes 128 16 192 24 256 32 |
- See also
- KEYLENGTH macro.
...
Rijndael::Block cipher = ...;
Rijndael::decrypt(cipher, result);
Initialize encryption state.
- Parameters
-
[in] | key | AES key, where length is: keybits number of bytes 128 16 192 24 256 32 |
- See also
- KEYLENGTH macro.
...
Rijndael::Block plain = "Hello World!";
The documentation for this class was generated from the following file: