| Modifier and Type | Field and Description |
|---|---|
static String |
ALGORITHM
Cipher algorithm.
|
static int |
KEY_SIZE
Key size in bits.
|
static int |
KEY_SIZE_IN_BYTES
Key size in bytes.
|
static String |
MODE
Cipher mode.
|
static String |
PADDING
Cipher padding.
|
static String |
TRANSFORMATION
Cipher transformation.
|
| Constructor and Description |
|---|
Aes() |
public static final int KEY_SIZE
public static final int KEY_SIZE_IN_BYTES
public static final String ALGORITHM
public static final String MODE
public static final String PADDING
public static final String TRANSFORMATION
public abstract byte[] encrypt(byte[] iv,
byte[] decrypted)
decrypted.iv - initialization vectordecrypted - the bytes to encryptpublic abstract byte[] decrypt(byte[] iv,
byte[] encrypted)
encrypted.iv - initialization vectorencrypted - the bytes to decryptCopyright © 2011-2012. All Rights Reserved.