org.bouncycastle.crypto.engines
public final class TwofishEngine extends Object implements BlockCipher
Constructor Summary | |
---|---|
TwofishEngine() |
Method Summary | |
---|---|
String | getAlgorithmName() |
int | getBlockSize() |
void | init(boolean encrypting, CipherParameters params)
initialise a Twofish cipher.
|
int | processBlock(byte[] in, int inOff, byte[] out, int outOff) |
void | reset() |
Parameters: encrypting whether or not we are for encryption. params the parameters required to set up the cipher.
Throws: IllegalArgumentException if the params argument is inappropriate.