Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecryptography

Cross‑platform cryptographic algorithms for Dart and Flutter.

pub.devRemove
webcrypto

Cross-platform implementation of Web Cryptography APIs for Dart.

pub.devRemove
ScoresHealth6789 (best)
Maintenance1598 (best)
Quality8791 (best)
Popularity91 (best)72
Community8080
Compatibility100100
UsageDownloads (30 days)1.4M (best)57k
Likes316 (best)84
Pub points130 / 160140 / 160 (best)
GitHub stars189 (best)115
MaintenanceLatest release2.9.0, 12 months ago0.6.2, 10 days ago (best)
Major versions in 12 months00
Contributors939 (best)
Publisherdint.devgoogle.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFFI (native library)FFI (native library)
Code generationNoNo
Direct dependencies55
LicenseAPACHE-2.0APACHE-2.0
Setup effortLowMedium
JudgementStrengths
  • Platform‑native implementations give best performance
  • Pure‑Dart fallback ensures it works everywhere
  • Wide algorithm coverage and easy API
  • Consistent API across mobile, web, and desktop platforms.
  • Backed by BoringSSL natively and window.crypto on the web.
  • Extensive feature set including AES, RSA, ECDSA, HMAC, and hashing algorithms.
Weaknesses
  • Not a full authentication framework, only low‑level crypto
  • Requires ffi on some platforms for Argon2id
  • Requires cmake and a C compiler (like gcc or clang) for native builds.
  • Native implementation executes on the main thread.
  • Some browser and platform specific compatibility limitations and known issues.
WarningsNoneNone
cryptography vs webcrypto: which Flutter package should you use? | pubscout