类 DecryptAES
java.lang.Object
top.yqingyu.common.utils.DecryptAES
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static byte[]decryptAES(byte[] content, String keyStr) AES解密 + Base64static StringdecryptBase64Key(String encryptKey) static byte[]decryptKeyByte(byte[] bytes) 解密keystatic byte[]decryptKeyByte(String encryptKey) 解密keystatic byte[]encryptAES(String content, String keyStr) AES加密 +base64static byte[]encryptKeyByte(byte[] key) 加密keystatic byte[]encryptKeyByte(String key) 加密keystatic byte[]encryptKeyByte2(byte[] key) 加密key2static byte[]encryptKeyByte2(QyMsg value) 加密key2static byte[]加密key base64
-
构造器详细资料
-
DecryptAES
public DecryptAES()
-
-
方法详细资料
-
encryptKeyByte
加密key- 参数:
key-- 返回:
-
encryptKeyByte
public static byte[] encryptKeyByte(byte[] key) 加密key- 参数:
key-- 返回:
-
encryptKeyByte2
public static byte[] encryptKeyByte2(byte[] key) 加密key2- 参数:
key-- 返回:
-
encryptKeyByte2
加密key2- 参数:
value-- 返回:
-
encryptKeyByteBase64
加密key base64- 参数:
key-- 返回:
-
decryptKeyByte
解密key- 参数:
encryptKey-- 返回:
-
decryptKeyByte
public static byte[] decryptKeyByte(byte[] bytes) 解密key- 参数:
bytes-- 返回:
-
decryptBase64Key
-
encryptAES
AES加密 +base64- 参数:
content- 需要加密的内容keyStr- 加密密码- 返回:
-
decryptAES
AES解密 + Base64- 参数:
content- 待解密内容keyStr- 解密密钥- 返回:
-