public abstract class AES extends java.lang.Object implements BlockCipher
| Modifier and Type | Class and Description |
|---|---|
static class |
AES.CBC |
static class |
AES.CTR |
| Modifier and Type | Field and Description |
|---|---|
protected javax.crypto.Cipher |
cipher |
| Constructor and Description |
|---|
AES() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockSize() |
void |
init(boolean forEncryption,
byte[] key,
byte[] iv) |
void |
transformBlock(byte[] src,
int srcoff,
byte[] dst,
int dstoff) |
public void init(boolean forEncryption,
byte[] key,
byte[] iv)
init in interface BlockCipherpublic int getBlockSize()
getBlockSize in interface BlockCipherpublic void transformBlock(byte[] src,
int srcoff,
byte[] dst,
int dstoff)
transformBlock in interface BlockCipher