decryptBytes method

List<int> decryptBytes(
  1. Encrypted encrypted, {
  2. IV? iv,
  3. Uint8List? associatedData,
})

Calls decrypt on the wrapped Algorith without UTF-8 decoding.

Implementation

List<int> decryptBytes(Encrypted encrypted,
    {IV? iv, Uint8List? associatedData}) {
  return algo
      .decrypt(encrypted, iv: iv, associatedData: associatedData)
      .toList();
}