Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecrypto

Provides SHA, MD5, and HMAC hashing functions for Dart.

pub.devRemove
webcrypto

Cross-platform implementation of Web Cryptography APIs for Dart.

pub.devRemove
ScoresHealth96 (best)89
Maintenance9598 (best)
Quality100 (best)91
Popularity100 (best)72
Community8080
Compatibility100100
UsageDownloads (30 days)21M (best)57k
Likes1.9k (best)84
Pub points160 / 160 (best)140 / 160
GitHub stars77115 (best)
MaintenanceLatest release3.0.8, 4 weeks ago0.6.2, 10 days ago (best)
Major versions in 12 months00
Contributors100+ (best)39
Publisherdart.devgoogle.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFFI (native library)
Code generationNoNo
Direct dependencies0 (best)5
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowMedium
JudgementStrengths
  • Pure Dart, no native dependencies
  • Supports a wide range of hash functions and HMAC
  • Works on all Flutter platforms
  • Performance improvements in recent versions
  • 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 reviewed by security professionals
  • Limited to hashing/HMAC, no encryption or key management
  • May lack the latest cryptographic primitives
  • 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
crypto vs webcrypto: which Flutter package should you use? | pubscout