类 AesUtils

java.lang.Object
top.misec.bark.utils.AesUtils

public class AesUtils extends Object
  • 字段详细资料

    • KEY_ALGORITHM

      public static String 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

      public static AlgorithmParameters generateIV(byte[] iv) throws Exception
      抛出:
      Exception