Class EncryptionKey


  • public class EncryptionKey
    extends Object
    Holder for an AES-GCM compatible encryption key and nonce.
    • Constructor Detail

      • EncryptionKey

        public EncryptionKey​(byte[] key,
                             byte[] nonce)
    • Method Detail

      • getKey

        public byte[] getKey()
      • getNonce

        public byte[] getNonce()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object