org.bouncycastle.crypto.engines
Class TEAEngine
java.lang.Object
org.bouncycastle.crypto.engines.TEAEngine
- BlockCipher
public class TEAEngine
extends java.lang.Object
An TEA engine.
TEAEngine() - Create an instance of the TEA encryption algorithm
and set some defaults
|
TEAEngine
public TEAEngine()
Create an instance of the TEA 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