BufferedBlockCipherWrapper

OOP API wrapper class for BufferedBlockCipher

Members

Functions

doFinal
uint doFinal(ubyte[] output)

encrypt the remaining bytes in the buffer

processByte
uint processByte(ubyte b, ubyte[] output)

takes one byte and stores it in a buffer. Only if the buffer is full it gets encrypted and the cipher text gets written to output.

processBytes
uint processBytes(ubyte[] i, ubyte[] output)
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(bool forEncryption, ubyte[] userKey, ubyte[] iv)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

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

Inherited Members

From IBufferedBlockCipher

start
void start(bool forEncryption, ubyte[] userKey, ubyte[] iv)
Undocumented in source.
name
string name [@property getter]
Undocumented in source.
blockSize
uint blockSize [@property getter]
Undocumented in source.
reset
void reset()
Undocumented in source.
processByte
uint processByte(ubyte b, ubyte[] output)

takes one byte and stores it in a buffer. Only if the buffer is full it gets encrypted and the cipher text gets written to output.

processBytes
uint processBytes(ubyte[] i, ubyte[] output)
doFinal
uint doFinal(ubyte[] output)

encrypt the remaining bytes in the buffer

Meta