OFB

Output Feedback Mode

Constructors

this
this(BlockCipher cipher)

Members

Functions

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
OFB 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 iv_len)
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.

Properties

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

Variables

m_buf_pos
size_t m_buf_pos;
Undocumented in source.
m_cipher
Unique!BlockCipher m_cipher;
Undocumented in source.

Inherited Members

From StreamCipher

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

Meta