org.bouncycastle.crypto.engines
Class RC6Engine
java.lang.Objectorg.bouncycastle.crypto.engines.RC6Engine
- BlockCipher
public class RC6Engine
extends java.lang.Object
An RC6 engine.
RC6Engine()- Create an instance of the RC6 encryption algorithm
and set some defaults
|
RC6Engine
public RC6Engine()
Create an instance of the RC6 encryption algorithm
and set some defaults
init
public void init(boolean forEncryption,
CipherParameters params) initialise a RC5-32 cipher.
- init in interface BlockCipher
forEncryption - whether or not we are for encryption.params - the parameters required to set up the cipher.
processBlock
public int processBlock(byte[] in,
int inOff,
byte[] out,
int outOff)- processBlock in interface BlockCipher