3 ms·
The reason why is crypto RNG are much slower than something less secure. It really depends on the application, but in the code I wrote today a significant fract
by danieltillett 11y ago
The reason why is crypto RNG are much slower than something less secure. It really depends on the application, but in the code I wrote today a significant fraction of my application’s time was spent in the RNG function. By replacing the RNG I managed to speed up my code by a bit over 2 fold. I am not doing crypto work so this is great.
- daurnimator 11y agoChaCha is fast. very fast. see just below: https://news.ycombinator.com/item?id=9890599 https://news.ycombinator.com/item?id=9890599 I'm not sure why they marked it as "fairly slow" in the table in the OP.
- danieltillett 11y agoFast and slow are all relative - ChaCha is relatively fast but PGC is faster.