aesDecrypt static method
Implementation
static String aesDecrypt(String encryptStr, String key, String iv) {
//final keyId = Key(Uint8List.fromList(HEX.decode(key)));
final encrypter =
Encrypter(AES(Key.fromUtf8(key), mode: AESMode.cbc, padding: 'PKCS7'));
final decrypted = encrypter.decrypt64(encryptStr, iv: IV.fromUtf8(iv));
return decrypted;
}