encryptor 0.0.1 encryptor: ^0.0.1 copied to clipboard
AES with PKCS7 padding encryption with simple encrypt/decrypt functions.
Encryptor #
Super easy Encrypt decrypt high level API for Flutter APPs
This package is a wrapper around encrypt. for more secure encryption with randomIV please check it.
Usage #
var plainText = 'SOME DATA TO ENCRYPT';
var key = 'Key to encrypt and decrpyt the plain text';
var encrypted = Encryptor.encrypt(key, plainText);
var decrypted = Encryptor.decrypt(key, encrypted);
print(encrypted);
print(decrypted);