| java.lang.Object org.bouncycastle.crypto.engines.RC2Engine
RC2Engine | public class RC2Engine implements BlockCipher(Code) | | an implementation of RC2 as described in RFC 2268
"A Description of the RC2(r) Encryption Algorithm" R. Rivest.
|
getBlockSize | public int getBlockSize()(Code) | | |
init | public void init(boolean encrypting, CipherParameters params)(Code) | | initialise a RC2 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) | | |
|
|