4 ms·
PCG is a top-quality pseudorandom number generator, suitable for all non-crypto prng applications Here are the DIEHARDER results: https://www.johndcook.com/blo
by 37ef_ced3 5y ago
PCG is a top-quality pseudorandom number generator, suitable for all non-crypto prng applications
Here are the DIEHARDER results: https://www.johndcook.com/blog/2017/07/07/testing-the-pcg-random-number-generator/ https://www.johndcook.com/blog/2017/07/07/testing-the-pcg-ra...
- dwohnitmok 5y agoNot quite "all prng applications." As TapamN points out it is not cryptographically secure and can be broken. https://hal.inria.fr/hal-02700791/ https://hal.inria.fr/hal-02700791/ But it's probably fine for non-crytographic uses (and indeed is widely used for such). [parent comment has now added "non-crypto" to the original quote so that "all prng applications" is now moot]
- bawolff 5y agoUsually people say CSPRNG if its secure for crypto applications. Just saying PRNG kind of implies its not cryptographically secure
- dwohnitmok 5y agoFair enough.