<div dir="ltr"><div>Hello,<br><br>Thanks for ChaCha20 suggestion, I've been poking around a bit and it actually seems as the best choice for this case. (I already use DJB's other product (cubehash) with great results).<br>
<br></div><div>I was kindof hoping to see some more RC4 support though, you know :]<br><br></div><div>with best regards,<br></div><div>-mk<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 9, 2014 at 5:23 AM, Zooko O'Whielacronx <span dir="ltr"><<a href="mailto:zookog@gmail.com" target="_blank">zookog@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you like RC4, you might like ChaCha20.<br>
<br>
<a href="https://en.wikipedia.org/wiki/Salsa20#ChaCha_variant" target="_blank">https://en.wikipedia.org/wiki/Salsa20#ChaCha_variant</a><br>
<br>
Like RC4, it is a stream cipher, but unlike RC4 it is widely liked by<br>
modern cryptographers. That's a generalization, of course, but:<br>
<br>
* ChaCha20 is a variant of Salsa20, which was one of the winners of<br>
the eSTREAM competition: <a href="http://www.ecrypt.eu.org/stream/index.html" target="_blank">http://www.ecrypt.eu.org/stream/index.html</a><br>
<br>
* There is work to implement it in TLS (to replace RC4):<br>
<a href="https://www.imperialviolet.org/2013/10/07/chacha20.html" target="_blank">https://www.imperialviolet.org/2013/10/07/chacha20.html</a><br>
<br>
* It's now included in OpenSSH:<br>
<a href="http://blog.djm.net.au/2013/11/chacha20-and-poly1305-in-openssh.html" target="_blank">http://blog.djm.net.au/2013/11/chacha20-and-poly1305-in-openssh.html</a><br>
<br>
* It is the core of my favorite secure hash function, BLAKE2!<br>
<a href="https://blake2.net/" target="_blank">https://blake2.net/</a> (Disclosure: I'm one of the authors of BLAKE2, but<br>
not of the original "BLAKE" from which BLAKE2 is derived.)<br>
<br>
Oh yes, and ChaCha is much more efficient than RC4.<br>
<a href="http://www.cryptopp.com/benchmarks.html" target="_blank">http://www.cryptopp.com/benchmarks.html</a> says that modified alleged RC4<br>
("MARC4") takes about 14 cycles per byte and that Salsa20 takes about<br>
4 cycles per byte. <a href="http://bench.cr.yp.to/results-stream.html" target="_blank">http://bench.cr.yp.to/results-stream.html</a> says that<br>
ChaCha20 is usually around 15% more efficient than Salsa20 on modern<br>
Intel CPUs.<br>
<br>
Regards,<br>
<br>
Zooko<br>
_______________________________________________<br>
The cryptography mailing list<br>
<a href="mailto:cryptography@metzdowd.com">cryptography@metzdowd.com</a><br>
<a href="http://www.metzdowd.com/mailman/listinfo/cryptography" target="_blank">http://www.metzdowd.com/mailman/listinfo/cryptography</a><br>
</blockquote></div><br></div>