Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecryptography

Cross‑platform cryptographic algorithms for Dart and Flutter.

pub.devRemove
universal_ffi

Cross-platform wrapper for dart:ffi and wasm_ffi to support native platforms and web.

pub.devRemove
ScoresHealth6768 (best)
Maintenance1564 (best)
Quality87100 (best)
Popularity91 (best)39
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)1.4M (best)20k
Likes316 (best)8
Pub points130 / 160160 / 160 (best)
GitHub stars189 (best)2
MaintenanceLatest release2.9.0, 12 months ago1.5.1, 3 months ago (best)
Major versions in 12 months00
Contributors9 (best)1
Publisherdint.devvm75.duckdns.org
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFFI (native library)FFI (native library)
Code generationNoNo
Direct dependencies53 (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
  • Consistent API across all platforms including web
  • Helper utilities for asynchronous library loading and memory management
Weaknesses
  • Not a full authentication framework, only low‑level crypto
  • Requires ffi on some platforms for Argon2id
  • Web platform has limitations on certain dart:ffi features like Array, Struct, and Union
  • Requires manual compilation and asset management for WebAssembly or Emscripten binaries
WarningsNoneNone
cryptography vs universal_ffi: which Flutter package should you use? | pubscout