Cryptographically Secure Random Number Generator
Browser cryptographic source
Generate integer sequences in your browser with the Web Crypto API when available, or choose the labeled Math.random fallback. Set inclusive bounds, duplicate rules, and quantity, then copy results or download a TXT report.
Generate numbersWhat this generator does
- Uses the Web Crypto API when available for cryptographically secure pseudorandom values
- The browser controls the underlying entropy source; this page does not access physical entropy hardware directly
- The Math.random fallback is for casual selection, not security-sensitive values
- Set an inclusive minimum and maximum for the integer range
- Disable duplicates when each result must be unique
- Generate 1 to 1,000 integers per run
- Copy a result list or download a TXT report
- Latency shows elapsed time, not randomness quality
How to generate secure random integers
Set the integer range
Enter a minimum and maximum; both endpoints are included.
Choose the source and duplicate rule
Use Web Crypto when available, or Math.random for casual draws. Turn duplicates off when results must be unique.
Generate and save the result
Choose a quantity, generate the numbers, review the source and latency, then copy or download the TXT report.
Example: classroom number draw
- Input
- Input: integers 1–30, five results, with duplicates disabled.
- Steps
- Workflow: select the available source, enter the range and quantity, disable duplicates, and generate.
- Output
- Output: five unique integers with the selected source and elapsed time; the TXT report can be downloaded.
Illustrative example only, not a verified customer result. Do not use this range-mapping page to create security keys or tokens.
Cryptographically Secure RNG FAQ
Does this tool produce true physical randomness?
No. It uses the browser Web Crypto API when available, which supplies cryptographically secure pseudorandom values rather than output from a dedicated physical true-random device.
What happens when Web Crypto is unavailable?
Choose the Math.random fallback for casual number selection. It is not designed for security-sensitive values.
Can I use these numbers for encryption keys or tokens?
Use a purpose-built cryptographic API or library directly. This tool maps random values to a selected number range and is intended for ordinary draws.
Are the minimum and maximum included?
Yes. Either endpoint can be returned. Enter a minimum lower than the maximum.
Can numbers repeat?
Yes, duplicates are allowed by default. Turn off Allow Duplicate Numbers for unique results; the quantity cannot exceed the range size.
How many numbers can I generate?
Each run supports 1 to 1,000 integers.
What does latency measure?
It reports elapsed generation time in this browser for the latest result. It is not a randomness quality score.
Are results uploaded or saved?
Generation runs in the page. Results stay in the current page state and are not uploaded by this tool.
Can I copy or download results?
Use Copy Results or Download Report. The TXT report includes the values, source, generation time, and measured latency.
Does this page run randomness tests?
No. It generates a sequence but does not run statistical validation or provide a certified audit.