This is all pretty confusing to me, because it's discussing a non-cryptographic RNG but talking about invertibility and "having been cracked" as a motivation for replacing that RNG. If you need a secure RNG, you use a CSPRNG. For all other cases: why is "having been cracked" motivating? This was always my complaint with PCG, that it talked about "difficulty to predict" and its suitability for... some kinds? of securi…
From what I understand of the matter, the crux of it is that there are two modern PRNG families whose creators are running around telling you to use their PRNG over the other's because , where a) both of them are correct, and b) the don't elucidate the tradeoffs being made to people whose prior understanding amounts to "I just want a source of random numbers!" This is contrast to something like a linear congruential…
Designing a New PRNG
11–20 of 52 posts
Re: Designing a New PRNG
#12This is all pretty confusing to me, because it's discussing a non-cryptographic RNG but talking about invertibility and "having been cracked" as a motivation for replacing that RNG. If you need a secure RNG, you use a CSPRNG. For all other cases: why is "having been cracked" motivating? This was always my complaint with PCG, that it talked about "difficulty to predict" and its suitability for... some kinds? of securi…
Re: Designing a New PRNG
#13(Is there an application for which AES is not fast enough? Has it been benchmarked for speed against the various PRNG options?)
Re: Designing a New PRNG
#14This is all pretty confusing to me, because it's discussing a non-cryptographic RNG but talking about invertibility and "having been cracked" as a motivation for replacing that RNG. If you need a secure RNG, you use a CSPRNG. For all other cases: why is "having been cracked" motivating? This was always my complaint with PCG, that it talked about "difficulty to predict" and its suitability for... some kinds? of securi…
Seems that vigna (author of the xoshiro family of rngs) mostly agrees with you > Personally, I don't believe in the "middle ground" of "difficult-to-predict-but-not-crypto": usually it just means it is so easy to break that nobody https://github.com/rust-random/rand/issues/905#issuecomment-...
Re: Designing a New PRNG
#15Re: Designing a New PRNG
#16Dumb question: Why not just use AES? Most platforms have hardware acceleration so it should be pretty fast. Then there's no worrying about output quality. (Is there an application for which AES is not fast enough? Has it been benchmarked for speed against the various PRNG options?)
Re: Designing a New PRNG
#17Seriously. Cut this shit out. Design a cryptographic RNG or decide precisely how you intend to justify a non-cryptographic RNG that has cryptographic security properties (but like, not all of them.)
Re: Designing a New PRNG
#18Seriously. Cut this shit out. Design a cryptographic RNG or decide precisely how you intend to justify a non-cryptographic RNG that has cryptographic security properties (but like, not all of them.)
If you want to design a cryptographic RNG that falls between LCGs and PCG in speed, please have a go at it. Meanwhile we'll use our small and fast PRNGs and strive to make them as good as they can possibly be for non-cryptographic uses.
Re: Designing a New PRNG
#19Seriously. Cut this shit out. Design a cryptographic RNG or decide precisely how you intend to justify a non-cryptographic RNG that has cryptographic security properties (but like, not all of them.)
If you want to design a cryptographic RNG that falls between LCGs and PCG in speed, please have a go at it. Meanwhile we'll use our small and fast PRNGs and strive to make them as good as they can possibly be for non-cryptographic uses.
Re: Designing a New PRNG
#20Earlier quoted context omitted.
If you want to design a cryptographic RNG that falls between LCGs and PCG in speed, please have a go at it. Meanwhile we'll use our small and fast PRNGs and strive to make them as good as they can possibly be for non-cryptographic uses.
Saving some weight by leaving the airbag out of your car doesn't mean that it going faster is a good thing.