org.bouncycastle.crypto.engines
public class RC4Engine extends Object implements StreamCipher
| Method Summary | |
|---|---|
| String | getAlgorithmName() |
| void | init(boolean forEncryption, CipherParameters params)
initialise a RC4 cipher.
|
| void | processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) |
| void | reset() |
| byte | returnByte(byte in) |
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.