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