类 AesUtil


  • public class AesUtil
    extends java.lang.Object
    • 构造器概要

      构造器 
      构造器 说明
      AesUtil​(byte[] key)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String decryptToString​(byte[] associatedData, byte[] nonce, java.lang.String ciphertext)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • AesUtil

        public AesUtil​(byte[] key)
    • 方法详细资料

      • decryptToString

        public java.lang.String decryptToString​(byte[] associatedData,
                                                byte[] nonce,
                                                java.lang.String ciphertext)
                                         throws java.security.GeneralSecurityException,
                                                java.io.IOException
        抛出:
        java.security.GeneralSecurityException
        java.io.IOException