org.bouncycastle.crypto.engines
Class ISAACEngine
java.lang.Objectorg.bouncycastle.crypto.engines.ISAACEngine
- StreamCipher
public class ISAACEngine
extends java.lang.Object
Implementation of Bob Jenkin's ISAAC (Indirection Shift Accumulate Add and Count).
see: http://www.burtleburtle.net/bob/rand/isaacafa.html
init
public void init(boolean forEncryption,
CipherParameters params) initialise an ISAAC cipher.
- init in interface StreamCipher
forEncryption - whether or not we are for encryption.params - the parameters required to set up the cipher.
processBytes
public void processBytes(byte[] in,
int inOff,
int len,
byte[] out,
int outOff)- processBytes in interface StreamCipher