Available at pub.dev
AES CBC mode with 256-bit key, PKCS7 padding, and random salt.
Try on Demo
import 'package:aes256/aes256.dart';
...
// encryption
final encrypted = Aes256.encrypt(
text: 'text',
passphrase: 'passphrase',
);
// decryption
final decrypted = Aes256.decrypt(
encrypted: encrypted,
passphrase: 'passphrase',
);
...