public class AESFastEngine extends Object
| Constructor and Description |
|---|
AESFastEngine()
default constructor - 128 bit block size.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithmName() |
int |
getBlockSize() |
void |
init(boolean forEncryption,
KeyParameter params)
initialise an AES cipher.
|
int |
processBlock(byte[] in,
int inOff,
byte[] out,
int outOff) |
void |
reset() |
public void init(boolean forEncryption,
KeyParameter params)
forEncryption - whether or not we are for encryption.params - the parameters required to set up the cipher.IllegalArgumentException - if the params argument is
inappropriate.public String getAlgorithmName()
public int getBlockSize()
public int processBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
public void reset()
Copyright © 2016. All rights reserved.