public class AES extends AbstractEncryptor
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
algorithmKey |
protected static int |
keyLength |
charsetName, log| 构造器和说明 |
|---|
AES() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
decode(String encryptResult,
String password) |
static byte[] |
decrypt(byte[] content,
String password)
解密
|
static String |
encode(String content,
String password) |
static byte[] |
encrypt(String content,
String password)
加密
|
static void |
main(String[] args) |
byte2Hex, hex2Byteprotected static int keyLength
protected static String algorithmKey
Copyright © 2014. All Rights Reserved.