- input
- bytes of AAD to use with the cipher
Type Reason Java.Lang.IllegalStateException if this cipher instance is not initialized for encryption or decryption. Java.Lang.IllegalArgumentException if input is null Java.Lang.UnsupportedOperationException if the cipher does not support AEAD
Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD). AAD may only be added after the Cipher is initialized and before any data is passed to the instance.
This is only usable with cipher modes that support Authenticated Encryption with Additional Data (AEAD) such as Galois/Counter Mode (GCM).