2 ms·
It doesn't have to be the absolute fastest, it just has to work. What is far better and faster than SHA3? And while SHA2 wasn't designed for that use, it's ea
by Dylan16807 7y ago
It doesn't have to be the absolute fastest, it just has to work.
What is far better and faster than SHA3?
And while SHA2 wasn't designed for that use, it's easy to make simple and provably correct constructs that turn a secure hash into a secure RNG.
- heavenlyblue 7y agoYou’re speculating to prove a point. I would definitely not want my std to be designed this way.
- Dylan16807 7y ago1. It was just an example. 2. You definitely don't want your std to be designed with a simple API to a fast, secure, and popular crypto primitive? Pretend I named your favorite one, to avoid bikeshedding issues.
- edflsafoiewq 7y agoChaCha20 is widely used for CSRNG.
- Dylan16807 7y agoAgreed, that would work fine. But for a generic RNG function, I feel like the difference between 3 and 7 cycles per byte isn't too impactful.