3 ms·
I guess all programming is kinda hard, it's the nature of expectations of modern computing. Per-process CSPRNGs are pretty common. Most programs don't fork wit
by ploxiln 7y ago
I guess all programming is kinda hard, it's the nature of expectations of modern computing.
Per-process CSPRNGs are pretty common. Most programs don't fork without exec, no problem for them. Managing a per-process CSPRNG is only hard for libraries that might be used by some programs that fork without exec, and don't want to require the program to do anything right.
No! It's not hard, just don't screw it up. This is true of most things.
- tatersolid 7y agoWhy not just use getrandom() or CryptGenRandom() instead and simplify everything avoiding all those classes of bugs? A user space CSPRNG is just a foot-gun waiting to go off.