About Random Hex Generator
Session tokens, nonces, salts, and test fixtures all need unpredictable bytes, and eyeballing 'randomness' from a keyboard-mashed string is not a real strategy.
Set a byte length (up to 4096 bytes) and generate cryptographically secure random bytes rendered as hex, sourced from the Web Crypto API - genuinely suitable for security-sensitive values, not just test data.
FAQ
- Max length?
- Up to 4096 bytes per generation (8192 hex characters).