encryptor 0.0.1 copy "encryptor: ^0.0.1" to clipboard
encryptor: ^0.0.1 copied to clipboard

AES with PKCS7 padding encryption with simple encrypt/decrypt functions.

example/encryptor.dart

import 'package:encryptor/encryptor.dart';
import 'package:flutter/foundation.dart';

void main() {
  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);

  debugPrint(encrypted);
  debugPrint(decrypted);
}
30
likes
140
pub points
90%
popularity

Publisher

unverified uploader

AES with PKCS7 padding encryption with simple encrypt/decrypt functions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

crypto, encrypt, flutter

More

Packages that depend on encryptor