org.bouncycastle.crypto.engines
Class NoekeonEngine
java.lang.Object
org.bouncycastle.crypto.engines.NoekeonEngine
- BlockCipher
public class NoekeonEngine
extends java.lang.Object
A Noekeon engine, using direct-key mode.
NoekeonEngine() - Create an instance of the Noekeon encryption algorithm
and set some defaults
|
NoekeonEngine
public NoekeonEngine()
Create an instance of the Noekeon encryption algorithm
and set some defaults
init
public void init(boolean forEncryption,
CipherParameters params)
initialise
- 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