aes256 2.1.2
aes256: ^2.1.2 copied to clipboard
AES-256 encryption and decryption using PBKDF2 + AES-GCM.
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',
);
...