类 AesUtils
java.lang.Object
top.misec.bark.utils.AesUtils
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static byte[]decrypt(byte[] content, byte[] aesKey, int model, byte[] ivByte) static byte[]encrypt(byte[] originalContent, byte[] encryptKey, int model, byte[] ivByte) static AlgorithmParametersgenerateIV(byte[] iv)
-
字段详细资料
-
KEY_ALGORITHM
-
-
构造器详细资料
-
AesUtils
public AesUtils()
-
-
方法详细资料
-
encrypt
public static byte[] encrypt(byte[] originalContent, byte[] encryptKey, int model, byte[] ivByte) -
decrypt
public static byte[] decrypt(byte[] content, byte[] aesKey, int model, byte[] ivByte) -
generateIV
- 抛出:
Exception
-