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