decrypt abstract method

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

Decrypts the provided ciphertext along with a nonce, and optional associated data. Returns the plaintext and may write the result into the dst if provided. Returns null if decryption fails due to authentication failure.

Implementation

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