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);
}
33
likes
160
points
700
downloads

Publisher

unverified uploader

Weekly Downloads

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