Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeuniversal_ffi

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

pub.devRemove
webcrypto

Cross-platform implementation of Web Cryptography APIs for Dart.

pub.devRemove
ScoresHealth6889 (best)
Maintenance6498 (best)
Quality100 (best)91
Popularity3972 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)20k57k (best)
Likes884 (best)
Pub points160 / 160 (best)140 / 160
GitHub stars2115 (best)
MaintenanceLatest release1.5.1, 3 months ago0.6.2, 10 days ago (best)
Major versions in 12 months00
Contributors139 (best)
Publishervm75.duckdns.orggoogle.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFFI (native library)FFI (native library)
Code generationNoNo
Direct dependencies3 (best)5
LicenseMITAPACHE-2.0
Setup effortMediumMedium
JudgementStrengths
  • Consistent API across all platforms including web
  • Helper utilities for asynchronous library loading and memory management
  • 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
  • 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
  • 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
universal_ffi vs webcrypto: which Flutter package should you use? | pubscout