Conversation

Q: I need a parachute. I’m curious if my new proposed design, which involves three Toyota seat belts and eight boxes of Kleenex will allow me to safely float to the ground.
2
178
There are, in fact, definitions of “good” that apply to non-cryptographic PRNGs. But non-invertability isn’t one of them. That’s a security property.
1
123
I want to live in a world where “random number generator” and “pseudorandom number generator” refer to secure things. And there is this other class of things like “statistical sequence generator” that others can play with and make fast.
3
161
Replying to
My claim is that what’s small is the set of people who need randomized algorithms and ALSO have tight performance requirements that make CSPRNGs inappropriate. These people know who they are and can shop for fast insecure generators, rather than having them be default.
3
14
If the default across programming languages / libraries was giving people a fast thread-local ChaCha8 CSPRNG then wanting a non-CS PRNG would be incredibly rare as you describe. Since the best case is that you get a software ChaCha20 implementation, people think they need non-CS.
1
Part of good language/library design is having empathy for the programmers that are going to use it. Programmers commonly need lots of random data and there are lots of widely used randomized algorithms. One area with a lot of need for this are video games particularly for AIs.
1
1
Show replies