org.bouncycastle.crypto.engines
public class RC2Engine extends Object implements BlockCipher
| Method Summary | |
|---|---|
| String | getAlgorithmName() |
| int | getBlockSize() |
| void | init(boolean encrypting, CipherParameters params)
initialise a RC2 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.