support for BLAKE3 hash?

From: Date: Thu, 25 Feb 2021 04:07:01 +0000
Subject: support for BLAKE3 hash?
Groups: php.internals 
Request: Send a blank email to internals+get-113252@lists.php.net to get a copy of this message
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 (#113252) next »