Skip to content

knottx/aes256-dart

Repository files navigation

AES256

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 = await Aes256.encrypt("text", "passphrase");

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