AES256

https://pub.dev/packages/aes256

AES CBC mode with 256-bit key, PKCS7 padding, and random salt.

Try Demo.

import 'package:aes256/aes256.dart';

...
// encryption
final encrypted = await Aes256.encrypt("text", "passphrase");

// decryption
final decrypted = await Aes256.decrypt(encrypted, "passphrase");
...

Libraries

aes256