aes256 2.0.0
aes256: ^2.0.0 copied to clipboard
AES CBC mode with 256-bit key, PKCS7 padding, and random salt.
AES256 #
AES-256 encryption and decryption using PBKDF2 + AES-GCM
Try on Demo
import 'package:aes256/aes256.dart';
...
// encryption
final encrypted = await Aes256.encrypt(
text: 'text',
passphrase: 'passphrase',
);
// decryption
final decrypted = await Aes256.decrypt(
encrypted: encrypted,
passphrase: 'passphrase',
);
...