Skip to content
pubscout

encryptor

0.0.1, released 5 years ago by an unverified publisher

AES with PKCS7 padding encryption wrapper with simple encrypt and decrypt functions.

WASM-ready
$ flutter pub add encryptor
Source repository

What it does

Provides a high-level API wrapper around the encrypt package for AES encryption and decryption using simple function calls. Allows text to be encrypted and decrypted using a provided key.

AI-written summary of version 0.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a simple high-level API for AES text encryption and decryption in Flutter
  • You want a quick way to handle basic encryption tasks without complex configuration

Skip it when

  • You need maximum security requiring randomized IV handling
  • You require advanced cryptographic features beyond basic AES with PKCS7 padding

Strengths

  • Very simple and easy-to-use API
  • Provides straightforward string-based encryption and decryption

Weaknesses

  • Limited feature set as a basic wrapper
  • Lacks randomized IV support for higher security out of the box

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
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);

Alternatives

Packages that do the same job and could replace encryptor.

  • pqforge

    Pure-Dart post-quantum cryptography for ML-KEM, ML-DSA, SLH-DSA, and HPKE.

  • cryptography_plus

    Cryptographic algorithms for encryption, signatures, key agreement, and hashing across platforms.

  • cryptography

    Cross‑platform cryptographic algorithms for Dart and Flutter.

  • aes256

    AES‑256‑GCM encryption/decryption with PBKDF2‑SHA256 key derivation.

Works with

Packages commonly used together with encryptor: ones it builds on, ones built on it, and its own family.