org.bouncycastle.crypto.engines
public class RC6Engine extends Object implements BlockCipher
| Constructor Summary | |
|---|---|
| RC6Engine()
Create an instance of the RC6 encryption algorithm
and set some defaults | |
| Method Summary | |
|---|---|
| String | getAlgorithmName() |
| int | getBlockSize() |
| void | init(boolean forEncryption, CipherParameters params)
initialise a RC5-32 cipher.
|
| int | processBlock(byte[] in, int inOff, byte[] out, int outOff) |
| void | reset() |
Parameters: forEncryption whether or not we are for encryption. params the parameters required to set up the cipher.
Throws: IllegalArgumentException if the params argument is inappropriate.