Salsa

implementation of the Salsa20/20 stream cipher

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)

Encrypt or decrypt input bytes (but no more than 2^70 bytes!).

start
void start(bool forEncryption, in ubyte[] key, in ubyte[] iv)

Initialize the cipher.

Static functions

block
void block(in uint[] input, uint[] output)

Salsa20/rounds function

initState
void initState(ref uint[16] state, in ubyte[] keyBytes, in uint counter, in ubyte[] ivBytes)

Meta