Skip to content
pubscout

encrypter_plus

5.1.0, released 2 years ago by an unverified publisher

High-level APIs over PointyCastle for two-way cryptography, supporting AES, RSA, Salsa20, and Fernet.

WASM-ready
$ flutter pub add encrypter_plus
Source repository

What it does

Provides simple wrappers around cryptographic algorithms like AES, RSA, Salsa20, and Fernet for symmetric and asymmetric encryption, decryption, and digital signatures. It also includes a command-line tool to generate cryptographically secure random keys and IVs.

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

Use it when

  • You need to encrypt and decrypt sensitive data within your Dart or Flutter application.
  • You want to perform cryptographic operations using algorithms like AES, RSA, or Salsa20 without dealing with low-level PointyCastle APIs.

Skip it when

  • You need password hashing (the documentation recommends using the separate 'password' package instead).
  • You require a dedicated crypto backend that is actively maintained by a cryptography specialist team.

Strengths

  • Simple high-level API for complex encryption algorithms.
  • Supports multiple algorithms including AES, RSA, Salsa20, and Fernet.
  • Includes secure random generation utilities and command-line support.

Weaknesses

  • The author notes they are not a cryptography specialist and the fork relies on community maintenance.
  • Limited documentation outside of basic usage examples.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
6

Not documented

import 'package:encrypter_plus/encrypter_plus.dart';

void main() {
  final plainText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit';
  final key = Key.fromUtf8('my 32 length key................');
  final iv = IV.fromLength(16);

  final encrypter = Encrypter(AES(key));

  final encrypted = encrypter.encrypt(plainText, iv: iv);
  final decrypted = encrypter.decrypt(encrypted, iv: iv);

  print(decrypted);
}

Alternatives

Packages that do the same job and could replace encrypter_plus.

  • puppeteer

    A Dart port of Puppeteer to automate and control Chrome over the DevTools Protocol.

  • encrypt

    High‑level Dart APIs for encryption, decryption, signing and secure random generation.

  • webcrypto

    Cross-platform implementation of Web Cryptography APIs for Dart.

  • stream_channel

    An abstraction for two-way communication channels based on the Dart Stream class.

Works with

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