decrypt method

String decrypt(
  1. Encrypted encrypted, {
  2. IV? iv,
  3. Uint8List? associatedData,
})

Calls decrypt on the wrapped Algorithm.

Implementation

String decrypt(
  Encrypted encrypted, {
  IV? iv,
  Uint8List? associatedData,
}) {
  return convert.utf8.decode(
    decryptBytes(encrypted, iv: iv, associatedData: associatedData),
    allowMalformed: true,
  );
}