How it works
Uniform rejection sampling using Web Crypto; inclusive bounds
Input definitions
- Minimum integer
- Enter the value in the labeled unit.
- Maximum integer
- Enter the value in the labeled unit.
A worked example
- Minimum integer
- 1
- Maximum integer
- 100
Assumptions & limits
Uses the stated input units. Results are rounded for display; keep additional precision for subsequent calculations.
Sources & review
Maintained by AnsRio. Methods and examples use automated checks; this does not imply independent professional certification.
Method updated 2026-10-17. Content checked against the stated method and examples. Our verification approach.
Common questions
Can I check the result before using it?
Compare the worked example with your inputs and use the stated method: Uniform rejection sampling using Web Crypto; inclusive bounds. Confirm input units and boundary choices before relying on the result.
How does the Secure random integer tool work?
Uniform rejection sampling using Web Crypto; inclusive bounds.
What are the assumptions and limits of Secure random integer?
Uses the stated input units. Results are rounded for display; keep additional precision for subsequent calculations.