Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributenonce

Generate random alphanumeric strings and unique nonces in Dart.

pub.devRemove
xrandom

Consistent, high-performance, and reproducible random number generators in Dart.

pub.devRemove
ScoresHealth4848
Maintenance00
Quality8196 (best)
Popularity51 (best)33
Community4146 (best)
Compatibility100100
UsageDownloads (30 days)50k (best)5.4k
Likes12 (best)11
Pub points150 / 160150 / 160
GitHub stars411 (best)
MaintenanceLatest release1.2.0, 6 years ago0.7.2, 5 years ago (best)
Major versions in 12 months00
Contributors12 (best)
Publisherjamesalex.devrevercode.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseBSD-2-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Generates ASCII character codes directly without Base64 encoding overhead.
  • Supports unique nonce tracking out of the box.
  • Provides secure random options.
  • Bit-accurate consistency across different platforms
  • Multiple well-known RNG algorithms available (Xorshift, Xoshiro, Splitmix, Mulberry)
  • Faster execution times compared to standard dart:math Random in benchmarks
Weaknesses
  • Limited functionality beyond random string and nonce generation.
  • Some 64-bit generators are unsupported on JavaScript and will throw an UnsupportedError
  • Not cryptographically secure
WarningsNoneNone
nonce vs xrandom: which Flutter package should you use? | pubscout