org.bouncycastle.crypto.engines

Class NoekeonEngine

public class NoekeonEngine extends Object implements BlockCipher

A Noekeon engine, using direct-key mode.
Constructor Summary
NoekeonEngine()
Create an instance of the Noekeon encryption algorithm and set some defaults
Method Summary
StringgetAlgorithmName()
intgetBlockSize()
voidinit(boolean forEncryption, CipherParameters params)
initialise
intprocessBlock(byte[] in, int inOff, byte[] out, int outOff)
voidreset()

Constructor Detail

NoekeonEngine

public NoekeonEngine()
Create an instance of the Noekeon encryption algorithm and set some defaults

Method Detail

getAlgorithmName

public String getAlgorithmName()

getBlockSize

public int getBlockSize()

init

public void init(boolean forEncryption, CipherParameters params)
initialise

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.

processBlock

public int processBlock(byte[] in, int inOff, byte[] out, int outOff)

reset

public void reset()