Unrestricted ChaCha20 cipher.
Synopsis
Declared in <crypto/chacha20.h>
class ChaCha20;
Type Aliases
Name |
Description |
96‐bit nonce type. |
Member Functions
Name |
Description |
|
Constructors |
|
Destructor to clean up private memory. |
en/deciphers the message <in_bytes> and write the result into <out_bytes> |
|
outputs the keystream to out. |
|
Set the 96‐bit nonce and 32‐bit block counter. See ChaCha20Aligned::Seek. |
|
Set 32‐byte key, and seek to nonce 0 and block position 0. |