News for hackers. Stuff that matters.
Re:Designing a New PRNG by jcelerier on Monday December 20, 2021 @06:49PM (#29632036)
There's no such thing as "a good thing". There are only goals, security is just a goal among other that not everyone have.
Re:Designing a New PRNG by noiddicle on Monday December 20, 2021 @08:17PM (#29632670)
The problem that we have is that a minority of people realize that not all random implementations are actually fit for purpose for cryptographic security.

See CWE-338 for an enumerated list of these things in the wild.

I found 300+ examples of CVEs with little effort.

Should developers who are writing code that involves cryptography know better? Sure - but they don't. They cut and paste from stackoverflow with horrific results.

Re:Designing a New PRNG by jcelerier on Tuesday December 21, 2021 @08:05AM (#29636963)
> Should developers who are writing code that involves cryptography know better?

but cryptography is just one small use case of RNGs. Grepping through my home for e.g. random_engine, less than 1% seems to be related to crypto use cases, the bulk are being taken by noise generation for various artistic use cases, games, compilers, schedulers, and tests. Stuff like shuffling a playlist, making particles move in random directions, randomness in paint brushes, etc.

If I want to generate a white noise texture for a video game do you think I care more about cryptographically-secureness or the operation not taking 10 seconds for a 4k texture ?