StreamCipher

Base class for all stream ciphers

Members

Functions

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

clone
StreamCipher clone()

Get a new object representing the same algorithm as this

decrypt
void decrypt(Vector!(ubyte, Alloc) inoutput)
Undocumented in source. Be warned that the author may not have intended to support it.
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.
setIv
void setIv(const(ubyte)* iv, size_t iv_len)

Resync the cipher using the IV

validIvLength
bool validIvLength(size_t iv_len)

Meta