News for hackers. Stuff that matters.
Re:How do computers generate random numbers? by betwixthewires on Wednesday September 08, 2021 @12:36PM (#28459524)
Yeah, you're right, I guess I should've been more clear, using user inputs naively as an RNG is a bad idea, using it as a source of entropy can be useful. I would never entirely rely on it though, noise is a must, all it can really do is speed up true random number generation, and then only if the implementation is right, combining the sources of entropy naively can lead to reduction in security also, to me the risk of that added complexity is not worth the speed up in anything critical, I'd rather not use user inputs at all.
Re:How do computers generate random numbers? by tinus_hn on Wednesday September 08, 2021 @05:45PM (#28463452)
In many cases the next problem would be what to use instead. The alternatives aren’t too great either.
Re:How do computers generate random numbers? by betwixthewires on Thursday September 09, 2021 @04:18PM (#28474167)
There are great alternatives in principle. The problem is incentives to sabotage alternatives by governments and manufacturers. There are chips that produce real entropy, and processors come with integrated hardware for this purpose. The problem is that you don't know if the hardware is deliberately flawed in some way.
Re:How do computers generate random numbers? by IntrepidWorm on Wednesday September 08, 2021 @06:40PM (#28463944)
Suggestion: Every device has a built in lava lamp that we process into visual noise... Bring the 70's back in a big way.
Re:How do computers generate random numbers? by tinus_hn on Thursday September 09, 2021 @05:29AM (#28467891)
Many devices already have hardware sources of randomness built in. The problem is just that they are unverifiable and built by companies that have shown themselves to be untrustworthy.
Re:How do computers generate random numbers? by catlifeonmars on Friday September 10, 2021 @01:36AM (#28478161)
No, the problem is that the built in sources aren’t funky enough ;)

In all seriousness, though, yes and guaranteeing that the manufacturing process itself can “bake” in the randomness is a super interesting area of research. It’s like 99% of the manufacturing process is an exercise in reducing variability, and then there’s PUFs, where you’re basically trying to maximize variability, but in such a way that you maintain computational precision.