Hacker News new | ask | show | jobs
by theamk 14 days ago
> 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)

1 comments

The article is very confusing. IIUC they want two quantum random sources that are far enough to avoid slower than light communication, and then combine them and then do something that is probably the "whitening algorithm" but it has been lost somewhere in the translation from research article to PR to press article.

Anyway, I'm guessing a lot of the details because the report is annoyingly confusing.