5 ms·
If you need something fast and with stronger security guarantees, Google Randen remains a solid choice. https://github.com/google/randen https://github.com/goog
by jedisct1 7y ago
If you need something fast and with stronger security guarantees, Google Randen remains a solid choice. https://github.com/google/randen https://github.com/google/randen
- lern_too_spel 7y agoThe article mentions Randen is slower than ChaCha8.
- grantwu 7y agoWhere? CTRL-F Randen doesn't show anything, and the Randen repo claims it's faster than ChaCha8.
- espadrine 7y agoIt is not directly in the article, but in a link to a tweet by djb, the creator of ChaCha8. He believes that the cpb listed in the Randen comparison is off: https://twitter.com/hashbreaker/status/1023965175219728386 https://twitter.com/hashbreaker/status/1023965175219728386 He mentions that perhaps the implementation of ChaCha8 for the benchmark is done by hand and unoptimized. And it is true from what I saw that a lot of benchmarks with ChaCha8 are implemented with none of the tweaks that make it fast. In this instance, it looks like the Randen author didn’t reimplement it from scratch, but they used an SSE implementation, not an AVX2 one, which would have been faster: https://github.com/google/randen/blob/1365a91bafc04ba491ce79b88968744726225cf1/engine_chacha.h https://github.com/google/randen/blob/1365a91bafc04ba491ce79...