ChaCha20 cipher that only operates on multiples of 64 bytes.
Synopsis
Declared in <crypto/chacha20.h>
class ChaCha20Aligned;
Type Aliases
Name |
Description |
Type for 96‐bit nonces used by the Set function below. |
Member Functions
Name |
Description |
|
Constructors |
|
Destructor to clean up private memory. |
en/deciphers the message <input> and write the result into <output> |
|
outputs the keystream into out, whose length must be a multiple of BLOCKLEN. |
|
Set the 96‐bit nonce and 32‐bit block counter. |
|
Set 32‐byte key, and seek to nonce 0 and block position 0. |