News for hackers. Stuff that matters.
Re:The Lava Lamps That Help Keep the Internet Secure (2017) ... by sterlind on Saturday October 02, 2021 @01:16AM (#28726157)
Any CA worth their salt uses some sort of true random number generator by now, right? Like measuring radioactive decay or something?

I imagine if you (e.g.) XOR the state of a strong PRNG with the timestamp from an atomic clock whenever your Geiger counter goes off, you'd have infinite true random.

Re:The Lava Lamps That Help Keep the Internet Secure (2017) ... by tatersolid on Saturday October 02, 2021 @07:42AM (#28727804)
Please don’t use the described approach, which doesn’t un-bias or decorrelate the samples. And where do you get the seed for your PRNG anyway?

There are literally thousands of academic papers written on the topic of un-biasing and “extracting entropy” from noise sources. Most are overly complex; if you want a practical but secure approach see Yarrow, Fortuna, or the Linux kernel entropy pool.

Re:The Lava Lamps That Help Keep the Internet Secure (2017) ... by sterlind on Saturday October 02, 2021 @02:18PM (#28730738)
The seed from the PRNG would come from e.g. a few thousand samples of the radioactive decay. Isn't radioactive decay true random because it's a quantum effect? How could you have biased/correlated Geiger blips?
Re:The Lava Lamps That Help Keep the Internet Secure (2017) ... by tatersolid on Sunday October 03, 2021 @07:28PM (#28741457)
Let’s assume you’re getting absolute time stamps or arrival intervals from your Geiger counter. How do you convert those into a uniformly random PRNG seed? They will all be biased to a small range depending on your radiation source and measurement apparatus.

Secondly, non-cryptographic PRNGs leak their state from their outputs.

This is a solved problem. Many academic and engineering hours have been put into real solutions. Dear reader, please use a recognized secure scheme instead of the amateur ad-hoc approach recommended up-thread. It has no theoretic or engineering basis. Don’t roll your own crypto.