public abstract class EncryptionUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
IV16 |
| Constructor and Description |
|---|
EncryptionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
aesDecrypt(byte[] input,
byte[] key) |
static byte[] |
aesDecrypt(byte[] input,
byte[] key,
byte[] iv) |
static byte[] |
aesDecrypt(byte[] input,
Key key) |
static byte[] |
aesDecrypt(byte[] input,
Key secret,
byte[] iv) |
static byte[] |
aesEncrypt(byte[] input,
byte[] key) |
static byte[] |
aesEncrypt(byte[] input,
byte[] key,
byte[] iv) |
static byte[] |
aesEncrypt(byte[] input,
Key key) |
static byte[] |
aesEncrypt(byte[] input,
Key secret,
byte[] iv) |
public static byte[] aesEncrypt(byte[] input,
Key key)
throws Exception
Exceptionpublic static byte[] aesEncrypt(byte[] input,
byte[] key)
throws Exception
Exceptionpublic static byte[] aesEncrypt(byte[] input,
byte[] key,
byte[] iv)
throws Exception
Exceptionpublic static byte[] aesEncrypt(byte[] input,
Key secret,
byte[] iv)
throws Exception
Exceptionpublic static byte[] aesDecrypt(byte[] input,
Key key)
throws Exception
Exceptionpublic static byte[] aesDecrypt(byte[] input,
byte[] key)
throws Exception
Exceptionpublic static byte[] aesDecrypt(byte[] input,
byte[] key,
byte[] iv)
throws Exception
ExceptionCopyright © 2015 Universal Java Matrix Package. All rights reserved.