decrypt abstract method

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

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

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