{"Idno":"DK8788","Pwd":"d7877578788k","Action":"Profile"}
Encryption : s\/cBy3hAQ3bI5Ek5L+QKrK3Cy5HF8+iSsHHOV1YEcAEJLk4dQ4oYkTS1zoY\/1ZFvV7YaJzAhkZ4Q\ngkI51mJCqQ==\n
But in my code i am getting
nr0yG3cg/+98i2JCRtj+vdKRJ71f+ItOYjYMqj07oohNATc43yOoHlJ68n8oxe6gSy/eq8z8lydkm+4cjwoNHA==
var plainText = '{"Idno":"DK8788","Pwd":"d7877578788k","Action":"Profile"}';
final key = aes.Key.fromUtf8('Al@ex%oZawyerXYx');
final iv = aes.IV.fromLength(16);
final encrypter = Encrypter(AES(key, mode: AESMode.cbc,padding: 'PKCS7'));
final encrypted = encrypter.encrypt(plainText, iv: iv);
final decrypted = encrypter.decrypt(encrypted, iv: iv);
print("Decrypt : $decrypted");
print("Encrypt : $encrypted".toString());
print(encrypted.base64);
Please Help Me I am trying last one week
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/CAAWJ9htZxjx6FObOOpUuvZjcHoYPn-7jcRNQ17X%3D%3D3%3D3UQhung%40mail.gmail.com.