secure_nonce 2.0.1 copy "secure_nonce: ^2.0.1" to clipboard
secure_nonce: ^2.0.1 copied to clipboard

A cryptographically secure nonce generator for Dart. Generate random nonces as hex, bytes, base64, or alphanumeric strings using cryptographically secure random number generation.

Changelog #

2.0.1 #

Documentation

  • Improve README for pub.dev
  • Add doc/PROJECT.md

Improvements

  • Allow injecting Random into SecureNonce (defaults to Random.secure())
  • Improve hex/alphanumeric generation implementation

2.0.0 #

Breaking

  • Requires Dart SDK >=3.8.0 <4.0.0

Maintenance

  • Update dev tooling (lints, test)
  • No runtime/API changes

1.0.0 #

Initial release.

  • SecureNonce class with Random.secure() backend
  • Hex, bytes, base64, url-safe base64, and alphanumeric output formats
1
likes
160
points
107
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A cryptographically secure nonce generator for Dart. Generate random nonces as hex, bytes, base64, or alphanumeric strings using cryptographically secure random number generation.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on secure_nonce