Y
Hacker News
new
|
ask
|
show
|
jobs
by
jeremyw
1267 days ago
Yes, you must match your RNG values to an integer multiple of your alphabet size, or there will be bias on modulo. Filter, smear bits, etc.
More explanation here:
https://stackoverflow.com/questions/10984974/why-do-people-s...