Rangdom guides
Web Crypto API randomness explained
Why Rangdom uses browser cryptographic randomness for generators that need unpredictable output.
Cryptographic randomness
The Web Crypto API exposes random bytes from the browser's cryptographic system. Those bytes are suitable for tasks where predictability would be a problem, such as passwords, tokens, and fair random picks.
Why not Math.random
Math.random is useful for casual simulations, but it is not designed for secure values. Rangdom uses cryptographic randomness when a generator needs results that cannot be predicted from previous outputs.
Uniform choices
Random bytes still need careful mapping to numbers, list indexes, and character sets. Generators should avoid biased shortcuts so each valid outcome has the intended chance of being selected.