| java.lang.Object org.bouncycastle.crypto.engines.TwofishEngine
TwofishEngine | final public class TwofishEngine implements BlockCipher(Code) | | A class that provides Twofish encryption operations.
This Java implementation is based on the Java reference
implementation provided by Bruce Schneier and developed
by Raif S. Naffah.
|
TwofishEngine | public TwofishEngine()(Code) | | |
getBlockSize | public int getBlockSize()(Code) | | |
init | public void init(boolean encrypting, CipherParameters params)(Code) | | initialise a Twofish cipher.
Parameters: encrypting - whether or not we are for encryption. Parameters: params - the parameters required to set up the cipher. exception: IllegalArgumentException - if the params argument isinappropriate. |
processBlock | final public int processBlock(byte[] in, int inOff, byte[] out, int outOff)(Code) | | |
reset | public void reset()(Code) | | |
|
|