[ruby-core:77812] [Ruby trunk Feature#12802] Add BLAKE2 support to Digest

From: bascule@...
Date: 2016-10-29 18:58:13 UTC
List: ruby-core #77812
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:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next