- chacha
void chacha(ubyte[64] output, uint[16] input)
Undocumented in source. Be warned that the author may not have intended to support it.
- cipher
void cipher(const(ubyte)* input, ubyte* output, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- clone
StreamCipher clone()
Undocumented in source. Be warned that the author may not have intended to support it.
- keySchedule
void keySchedule(const(ubyte)* key, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
- keySpec
KeyLengthSpecification keySpec()
Undocumented in source. Be warned that the author may not have intended to support it.
- setIv
void setIv(const(ubyte)* iv, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
- validIvLength
bool validIvLength(size_t iv_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- cipher
void cipher(const(ubyte)* input, ubyte* output, size_t len)
Encrypt or decrypt a message
- cipher1
void cipher1(const(ubyte)* buf, size_t len)
Encrypt or decrypt a message
- cipher1
void cipher1(ubyte[] buf)
Encrypt or decrypt a message
- encipher
void encipher(Vector!(ubyte, Alloc) inoutput)
Undocumented in source. Be warned that the author may not have intended to support it.
- encrypt
void encrypt(Vector!(ubyte, Alloc) inoutput)
Undocumented in source. Be warned that the author may not have intended to support it.
- decrypt
void decrypt(Vector!(ubyte, Alloc) inoutput)
Undocumented in source. Be warned that the author may not have intended to support it.
- setIv
void setIv(const(ubyte)* iv, size_t iv_len)
Resync the cipher using the IV
- validIvLength
bool validIvLength(size_t iv_len)
- clone
StreamCipher clone()
Get a new object representing the same algorithm as this
DJB's ChaCha (http://cr.yp.to/chacha.html)