ChaCha

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

processBytes
ubyte[] processBytes(in ubyte[] input, ubyte[] output)
start
void start(bool forEncryption, in ubyte[] key, in ubyte[] iv, in uint initial_counter = 1)

Initialize the ChaCha20 stream cipher.

Static functions

permute
void permute(ref 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