Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecryptography

Cross‑platform cryptographic algorithms for Dart and Flutter.

pub.devRemove
xml_crypto

Xml digital signature library for Dart for signing and verifying XML documents.

pub.devRemove
ScoresHealth67 (best)60
Maintenance1560 (best)
Quality8790 (best)
Popularity91 (best)18
Community80 (best)52
Compatibility100 (best)85
UsageDownloads (30 days)1.4M (best)2k
Likes316 (best)7
Pub points130 / 160150 / 160 (best)
GitHub stars189 (best)6
MaintenanceLatest release2.9.0, 12 months ago5.1.0, 3 months ago (best)
Major versions in 12 months0 (best)2
Contributors9 (best)3
Publisherdint.devquire.io
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesNo
KindFFI (native library)Pure Dart
Code generationNoNo
Direct dependencies5 (best)6
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Platform‑native implementations give best performance
  • Pure‑Dart fallback ensures it works everywhere
  • Wide algorithm coverage and easy API
  • Supports multiple signature, hashing, and canonicalization algorithms (RSA, ECDSA, SHA, C14N).
  • Port of the established Node.js xml-crypto library.
Weaknesses
  • Not a full authentication framework, only low‑level crypto
  • Requires ffi on some platforms for Argon2id
  • XML digital signature specifications can be complex and prone to subtle verification errors (implicit transforms, etc.).
  • HMAC-SHA1 is disabled by default due to key confusion risks.
WarningsNoneNone
cryptography vs xml_crypto: which Flutter package should you use? | pubscout