Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeninja

Cryptography library for Dart to encrypt, decrypt, sign, and verify messages using RSA and AES.

pub.devRemove
webcrypto

Cross-platform implementation of Web Cryptography APIs for Dart.

pub.devRemove
ScoresHealth4389 (best)
Maintenance098 (best)
Quality9191
Popularity4272 (best)
Community1180 (best)
Compatibility100100
UsageDownloads (30 days)23k57k (best)
Likes984 (best)
Pub points140 / 160140 / 160
GitHub stars21115 (best)
MaintenanceLatest release3.0.8, 5 years ago0.6.2, 10 days ago (best)
Major versions in 12 months00
Contributors239 (best)
PublisherUnverifiedgoogle.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFFI (native library)
Code generationNoNo
Direct dependencies65 (best)
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowMedium
JudgementStrengths
  • Provides straightforward APIs for common RSA and AES operations.
  • Supports loading keys from standard PEM formats (PKCS#1 and PKCS#8).
  • Pure Dart implementation supporting multiple platforms (Android, iOS, Web, Windows, macOS, Linux).
  • 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
  • Certain block cipher modes (GCM, ECB, CFB, OFB) and curve-based cryptography are currently missing or marked as TODO.
  • Limited documentation outside of basic README snippets.
  • 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
ninja vs webcrypto: which Flutter package should you use? | pubscout