3 ms·
https://www.pcg-random.org/other-rngs.html#arc4random https://www.pcg-random.org/other-rngs.html#arc4random explains what they meant: > The BSD implementations
by jwilk 6y ago
https://www.pcg-random.org/other-rngs.html#arc4random https://www.pcg-random.org/other-rngs.html#arc4random explains what they meant:
> The BSD implementations (which are the only widely used ones) have several additional issues
> • No facility for a user-provided seed, preventing programs from getting reproducible results
> • Periodically “stirs” the generator using kernel-provided entropy; this code must be removed if reproducible results desired (and is removed from the C++ adaptation I created for testing purposes)
- Thorrez 6y agoThanks for the info. I wonder why the openssl implementation wasn't used: https://stackoverflow.com/q/9329631/830749 https://stackoverflow.com/q/9329631/830749