Issue #12802 has been updated by Tony Arcieri.


Nice @ SHA-3 branch. I think it makes sense to add both.

The reason to add BLAKE2 in addition to SHA-3 is that BLAKE2 is, in some cases, over 3X faster than SHA-3 at an equivalent security level:

https://blake2.net/sandy.png

BLAKE2b on a modern Intel CPU is even faster than MD5, but provides substantially better security.

----------------------------------------
Feature #12802: Add BLAKE2 support to Digest
https://bugs.ruby-lang.org/issues/12802#change-61118

* Author: Tony Arcieri
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
BLAKE2 is a fast, modern hash function, based on improvements to the BLAKE function, which was a SHA3 finalist. BLAKE2 performs about twice as fast in software as SHA3 winner Keccak:

https://blake2.net/

BLAKE2 has received an informational RFC 7693 from the IETF:

https://tools.ietf.org/html/rfc7693

It was added to the Python standard library in Python 3.6:

https://docs.python.org/3.6/library/hashlib-blake2.html

If there's interest in supporting BLAKE2 in the Ruby standard library, I can put together a patch.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>