encrypt abstract method

  1. @override
BuBytes encrypt(
  1. List<int> nonce,
  2. List<int> plaintext, {
  3. List<int>? associatedData,
  4. List<int>? dst,
})
override

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

@override
BuBytes encrypt(
  List<int> nonce,
  List<int> plaintext, {
  List<int>? associatedData,
  List<int>? dst,
});