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.
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.
93Compare - encrypt
High‑level Dart APIs for encryption, decryption, signing and secure random generation.
30Compare - webcrypto
Cross-platform implementation of Web Cryptography APIs for Dart.
89Compare - stream_channel
An abstraction for two-way communication channels based on the Dart Stream class.
79Compare
Works with
Packages commonly used together with encrypter_plus: ones it builds on, ones built on it, and its own family.
- cryptoencrypter_plus depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- clockencrypter_plus depends on itA fakeable wrapper for dart:core clock APIs.
- argsencrypter_plus depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- pointycastleencrypter_plus depends on itA Dart library providing a wide range of cryptographic algorithms and primitives.
- asn1libencrypter_plus depends on itEncodes and decodes ASN.1 objects using BER byte encoding in Dart.
- enough_mailBuilt on encrypter_plusIMAP, POP3, and SMTP email library with high and low-level APIs and MIME parsing.
- solidpodBuilt on encrypter_plusAccess and manage private data stores on Solid servers.
- flutter_arb_translatorBuilt on encrypter_plusA command line tool to automatically translate Flutter ARB localization files using various APIs.