ChaCha

Implementation of ChaCha designed by Daniel J. Bernstein.

Constructors

this
this()
Undocumented in source.
this
this(bool encrypt, ubyte[] key, ubyte[] iv)
Undocumented in source.

Members

Functions

ivSetup
void ivSetup()
Undocumented in source. Be warned that the author may not have intended to support it.
keySetup
void keySetup()
Undocumented in source. Be warned that the author may not have intended to support it.
salsa20WordToByte
void salsa20WordToByte(const(uint[]) input, ubyte[] output)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

name
const(char)[] name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Salsa20

sigma
immutable(ubyte)[] sigma;
Undocumented in source.
tau
immutable(ubyte)[] tau;
Undocumented in source.
i0
uint i0;
i1
uint i1;
Undocumented in source.
state
uint[] state;
Undocumented in source.
keyStream
ubyte[] keyStream;
Undocumented in source.
index
uint index;
Undocumented in source.
workingKey
const(ubyte)[] workingKey;
workingIV
const(ubyte)[] workingIV;
Undocumented in source.
init
void init(bool encrypt, ubyte[] key, ubyte[] iv)
Undocumented in source. Be warned that the author may not have intended to support it.
name
const(char[]) name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
returnByte
ubyte returnByte(ubyte input)
Undocumented in source. Be warned that the author may not have intended to support it.
update
uint update(const(void[]) input_, void[] output_)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
keySetup
void keySetup()
Undocumented in source. Be warned that the author may not have intended to support it.
ivSetup
void ivSetup()
Undocumented in source. Be warned that the author may not have intended to support it.
salsa20WordToByte
void salsa20WordToByte(const(uint[]) input, ubyte[] output)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta