Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecanonical_json

Encoder and decoder for canonical JSON format useful for cryptographic hashing and signing.

pub.devRemove
webcrypto

Cross-platform implementation of Web Cryptography APIs for Dart.

pub.devRemove
ScoresHealth7289 (best)
Maintenance5197 (best)
Quality100 (best)91
Popularity4972 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)49k57k (best)
Likes1184 (best)
Pub points160 / 160 (best)140 / 160
GitHub stars512 (best)115
MaintenanceLatest release1.1.3, 9 months ago0.6.2, 10 days ago (best)
Major versions in 12 months00
Contributors3039 (best)
Publishergoogle.devgoogle.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFFI (native library)
Code generationNoNo
Direct dependencies2 (best)5
LicenseAPACHE-2.0APACHE-2.0
Setup effortLowMedium
JudgementStrengths
  • Ensures deterministic JSON output for cryptographic use cases
  • Validates strict canonical JSON rules during decoding
  • 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
  • Does not support floating-point numbers
  • Requires strings to be in Unicode Normalization Form C
  • 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
canonical_json vs webcrypto: which Flutter package should you use? | pubscout