Re: support for BLAKE3 hash?

From: Date: Sun, 14 Mar 2021 02:12:00 +0000
Subject: Re: support for BLAKE3 hash?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-113510@lists.php.net to get a copy of this message
Hi,

thanks for keeping in sync with the world events on hashing, especially
crypto hashing. I saw happenings from the mentioned PR, but couldn't
really follow closely. Could you please tell, what the current
impediments on this work are? Please see to rebase the patch to the
latest master to ease the evaluations.

Regards

Anatol

On Thu, 2021-02-25 at 05:07 +0100, Hans Henrik Bergan wrote:
> BLAKE3 is a very fast cryptographically secure hash algorithm,
> when i run this implementation
> https://github.com/php/php-src/pull/6358
> against ext/hash/bench.php on an i7-8565U, it's competing against
> adler32
> in performance, and it's significantly faster than every other
> cryptographic hash (~2.6 times faster than md5 ! and ~4.6 times
> faster than
> sha3-256)
> it's also the latest iteration of the BLAKE hash, which was a
> SHA3-finalist,
> more info about it can be found here:
> https://github.com/BLAKE3-team/BLAKE3
> 
> any chance of getting BLAKE3 supported in php? it'd be a good fit for
> projects seeking "the fastest cryptographically secure hash",
> and with Tiger having near-collisions and SHA2 being vulnerable to
> length-extension, i think that's currently sha3.


Thread (2 messages)

« previous php.internals (#113510) next »