encrypt abstract method
Encrypts the provided plaintext along with a nonce, and optional associated data.
Returns the ciphertext and may write the result into the dst if provided.
Implementation
List<int> encrypt(
List<int> nonce,
List<int> plaintext, {
List<int>? associatedData,
List<int>? dst,
});