secure_nonce 2.0.1
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
RandomintoSecureNonce(defaults toRandom.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.
SecureNonceclass withRandom.secure()backend- Hex, bytes, base64, url-safe base64, and alphanumeric output formats