> Creating perfect randomness is surprisingly difficult. Even modern random number generators never generate completely ideal random numbers: small systematic errors can result in some numbers appearing slightly more frequently than others.
Wait, what? There nothing complex at all in making sure there is no value bias. It's called "whitening algorithm" and every hardware generator has one. My personal favorite method is passing the data via cryptographic hashes like SHA256, and also mix in previous state. This generates perfect distribution with no detectable patterns. (The only trick is to health-check your HWRNG _before_ whitening. Don't want your hardware to degrade to 01010101... and end up with a repeat of debian ssh key incident)
theamk•40m ago
Wait, what? There nothing complex at all in making sure there is no value bias. It's called "whitening algorithm" and every hardware generator has one. My personal favorite method is passing the data via cryptographic hashes like SHA256, and also mix in previous state. This generates perfect distribution with no detectable patterns. (The only trick is to health-check your HWRNG _before_ whitening. Don't want your hardware to degrade to 01010101... and end up with a repeat of debian ssh key incident)