aes256gcm 1.0.1

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

AES-256-GCM symmetric encryption functions that allow to encrypt/decrypt package

aes-256-gcm-dart

AES 256 GCM encryption algorithm in Dart

Use

var text = 'SOME DATA TO ENCRYPT';
var password = 'password';

var encrypted = Aes256Gcm.encrypt(text, password);
var decrypted = Aes256Gcm.decrypt(encrypted, password);

print(encrypted);
print(decrypted);