decryptBytes method
Implementation
List<int> decryptBytes({
required List<int> data,
String? key,
String? iv,
}) {
iv ??= this.iv;
key ??= this.key;
final encrypter = Encrypter(AES(Key.fromUtf8(key)));
return encrypter.decryptBytes(Encrypted(Uint8List.fromList(data)),
iv: IV.fromBase64(iv));
}