RC6

Implementation of the RC6-32/20/b cipher designed by Ron Rivest et al. of RSA Security.

It should be noted that this algorithm is very similar to RC5. Currently there are no plans to implement RC5, but should that change in the future, it may be wise to rewrite both RC5 and RC6 to use some kind of template or base class.

This algorithm is patented and trademarked.

References: http://people.csail.mit.edu/rivest/Rc6.pdf

Constructors

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

Members

Functions

init
void init(bool encrypt, ubyte[] key)
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.
update
uint update(const(void[]) input_, void[] output_)
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
const(char)[] name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From BlockCipher

blockSize
uint blockSize [@property getter]

Meta