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
hashlib

Secure hash functions, checksums, MACs, KDFs, and RNG optimized for Dart.

pub.devRemove
ScoresHealth96 (best)86
Maintenance9597 (best)
Quality100100
Popularity100 (best)72
Community80 (best)52
Compatibility100100
UsageDownloads (30 days)21M (best)62k
Likes1.9k (best)73
Pub points160 / 160160 / 160
GitHub stars77 (best)35
MaintenanceLatest release3.0.8, 4 weeks ago2.4.3, 7 days ago (best)
Major versions in 12 months00
Contributors100+ (best)3
Publisherdart.devbitanon.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
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
  • Runs on every platform with no native code or FFI dependencies.
  • Comprehensive collection of algorithms including block hashes, MACs, password KDFs, and OTP generators.
  • Supports both one-shot and streaming computation.
Weaknesses
  • Not reviewed by security professionals
  • Limited to hashing/HMAC, no encryption or key management
  • May lack the latest cryptographic primitives
  • Certain algorithms like XXHash64, XXH3, and XXH128 are not supported on the web platform.
  • Pure-Dart execution cannot guarantee constant-time operation against advanced timing side-channels.
WarningsNoneNone
crypto vs hashlib: which Flutter package should you use? | pubscout