aescryptojs 1.0.0 aescryptojs: ^1.0.0 copied to clipboard
encrypt and desencrypt compatible with CryptoJS
CryptoJS in Dart.
Usage #
import 'package:aescryptojs/aescryptojs.dart';
void main() {
final strBase = "this is a test";
final pass = "1234567890";
final enc = encryptAESCryptoJS(strBase, pass);
print(enc);
final des = decryptAESCryptoJS(enc, pass);
print(des);
}
Important information #
This package its not mine.
Thanks to Ching Sue Hok and i think the original is from Nguyen Phạm but i dont have any url.
More info at https://medium.com/@chingsuehok/cryptojs-aes-encryption-decryption-for-flutter-dart-7ca123bd7464