Adjust the inputs below. Results update as you type.
Uses a cryptographically secure random number generator (CSPRNG) for fair, unpredictable results—not the pseudo-random Math.random() which is predictable if seeded. Applications: dice simulation, lottery draws, randomized experiments, and statistical sampling. True randomness (hardware-based) differs from pseudo-randomness (algorithmic). For repeated uniform sampling without replacement, use a Fisher-Yates shuffle.