类 AESUtil
java.lang.Object
org.anyline.util.encrypt.AESUtil
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Stringstatic Stringstatic Stringdecrypt(AESUtil.CIPHER cipher, String password, String content) static Stringdecrypt(AESUtil.CIPHER cipher, String password, String vector, String content) AES 解密操作static Stringstatic Stringencrypt(AESUtil.CIPHER cipher, String password, String content) AES 加密操作
-
构造器详细资料
-
AESUtil
public AESUtil()
-
-
方法详细资料
-
encrypt
AES 加密操作- 参数:
cipher- cipherpassword- password 加密密码content- content 待加密内容- 返回:
- 返回Base64转码后的加密数据
-
encrypt
-
decrypt
AES 解密操作- 参数:
cipher- cipherpassword- passwordvector- vectorcontent- content- 返回:
- String
-
decrypt
-
decrypt
-
decrypt
-