Base class for encryption.
Encryption algorithm to use. (e.g. AES, ChaCha20)
Default key size to use for KeyGenerator.
IV/nonce length.
Concatenate the encryption details from a Map data.
Extracts the iv, data from a ByteArray data.
iv
data
Generate IV based on ivLength.
Generate secret key based on optional key size.