3 ms·
> They should be ideally uniformly distributed, though. This isn't enough as just counting from 000000 to 999999 is uniformly distributed over the whole range.
by account42 2y ago
> They should be ideally uniformly distributed, though.
This isn't enough as just counting from 000000 to 999999 is uniformly distributed over the whole range. You want the numbers to be pseudorandom so that someone without the seed cannot guess them even if they have seen previously generated numbers.