aes256 1.0.2
aes256: ^1.0.2 copied to clipboard
AES CBC mode with 256-bit key, PKCS7 padding, and random salt.
example/main.dart
import 'package:aes256/aes256.dart';
void main() async {
// encryption
final encrypted = await Aes256.encrypt('text', 'passphrase');
// decryption
final decrypted = await Aes256.decrypt(encrypted, 'passphrase');
}