ChaCha

Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

processByte
ubyte processByte(ubyte b)
Undocumented in source.
processBytes
ubyte[] processBytes(ubyte[] input, ubyte[] output)
start
void start(bool forEncryption, ubyte[] key, ubyte[] iv, uint initial_counter)

Initialize the ChaCha20 stream cipher.

Manifest constants

name
enum name;
Undocumented in source.

Static functions

permute
void permute(uint[16] state)

Do a ChaCha permutation on the input by applying n times the inner round function. This is actually the block function without adding the input to the permutation.

Meta