Security & Crypto Tools
CSPRNG Random Bytes / Number Generator
Generate cryptographically secure random bytes and integers.
Loading tool…
What is CSPRNG?
A minimal CSPRNG tool for developers who need genuine randomness: raw bytes in hex plus a uniform random integer.
How it works
Both outputs read from crypto.getRandomValues, the browser's cryptographically secure random source.
- Enter your input. Type or paste your input into the field above — the tool responds instantly.
- Review the result. Output updates live as you type. Everything runs entirely in your browser.
- Copy or download. Use the Copy button to grab the result, or Download to save it as a file.
Examples
Realistic sample
Paste or type any realistic input — the tool computes the result locally and instantly.
Common mistakes
Expecting a server round-trip
Nothing is uploaded — every tool in this category runs entirely in your browser.