Class Ciphers.AesGcmEncryptor

  • Enclosing class:
    Ciphers

    public static class Ciphers.AesGcmEncryptor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AesGcmEncryptor​(byte[] keyBytes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] encrypt​(byte[] plainText, byte[] aad)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AesGcmEncryptor

        public AesGcmEncryptor​(byte[] keyBytes)
    • Method Detail

      • encrypt

        public byte[] encrypt​(byte[] plainText,
                              byte[] aad)