AEAD
abstract class AEAD(@NotNull val algorithm: String, @NotNull val mode: String) : SymmetricEncryption
Authenticated Encryption with Associated Data.
It incorporates tag
that provides a cryptographic checksum that can be used to help validate a decryption such as additional clear text, or associated data used for validation
Parameters
algorithm
algorithm to use for KeyGenerator (e.g. AES, ChaCha20).
mode
algorithm mode to use (e.g. AES/GCM/NoPadding, ChaCha20-Poly1305).