Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecryptography

Cross‑platform cryptographic algorithms for Dart and Flutter.

pub.devRemove
flutter_secure_dotenv

Securely load and decrypt .env files in Flutter/Dart using AES encryption.

pub.devRemove
ScoresHealth67 (best)53
Maintenance1524 (best)
Quality8797 (best)
Popularity91 (best)28
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)1.4M (best)2.3k
Likes316 (best)14
Pub points130 / 160160 / 160 (best)
GitHub stars189 (best)8
MaintenanceLatest release2.9.0, 12 months ago2.0.0, 9 months ago (best)
Major versions in 12 months0 (best)1
Contributors9 (best)1
Publisherdint.devmfazrinizar.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFFI (native library)Pure Dart
Code generationNoYes
Direct dependencies51 (best)
LicenseAPACHE-2.0MIT
Setup effortLowMedium
JudgementStrengths
  • Platform‑native implementations give best performance
  • Pure‑Dart fallback ensures it works everywhere
  • Wide algorithm coverage and easy API
  • Strong encryption with AES‑CBC and key/IV handling
  • Zero‑runtime dependency on external services
  • Full code‑gen support for typed env classes
  • Comprehensive security guidance in SECURITY.md
Weaknesses
  • Not a full authentication framework, only low‑level crypto
  • Requires ffi on some platforms for Argon2id
  • Key must be stored in binary unless fetched from server
  • Requires build_runner for code generation
  • No runtime key rotation support
WarningsNoneNone
cryptography vs flutter_secure_dotenv: which Flutter package should you use? | pubscout