How the Random Number Generator Works
AnyTool Random Number Generator produces every value in the browser. By default it draws from the Web Crypto API: random 32-bit integers come from crypto.getRandomValues and are mapped onto the chosen range with rejection sampling — values that would fall outside an even multiple of the range size are discarded — so there is no modulo bias and every integer is exactly equally likely. Math.random is never used in this default crypto mode. You set any minimum and maximum, choose integers or fixed-precision decimals, and generate a single number or thousands at once over that inclusive range.
- Default randomness from crypto.getRandomValues (CSPRNG), not Math.random
- Rejection sampling removes modulo bias — uniform over the range
- Inclusive [min, max] range; integers or fixed-precision decimals
- Generate one value or thousands in a single click
- All generation is client-side JavaScript — no server round-trip
