Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributejwt_decode

A Dart package to decode JSON Web Tokens, check expiry dates, and verify expiration status.

pub.devRemove
selective_disclosure_jwt

Dart SDK for working with Selective Disclosure JSON Web Tokens (SD-JWT)

pub.devRemove
ScoresHealth5058 (best)
Maintenance013 (best)
Quality9696
Popularity86 (best)48
Community5869 (best)
Compatibility100100
UsageDownloads (30 days)703k (best)12k
Likes123 (best)18
Pub points150 / 160150 / 160
GitHub stars22 (best)5
MaintenanceLatest release0.3.1, 6 years ago1.1.1, a year ago (best)
Major versions in 12 months00
Contributors46 (best)
Publisherimsid.xyzaffinidi.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)7
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Simple top-level functions for parsing, getting expiry dates, and checking expiration.
  • Zero external dependencies.
  • Supports all platforms including Android, iOS, Web, Windows, macOS, and Linux.
  • Supports multiple signing algorithms including ES256, ES256K, RS256, HS256, and EdDSA.
  • Provides built-in key binding to prevent unauthorized presentations.
Weaknesses
  • Does not perform cryptographic signature verification of the tokens.
  • Limited feature set beyond simple decoding and expiration checks.
  • Niche standard that may require understanding complex IETF specifications.
  • Custom signers, hashers, and verifiers must be written manually if you use uncommon cryptographic algorithms.
WarningsNoneNone
jwt_decode vs selective_disclosure_jwt: which Flutter package should you use? | pubscout