On 24.01.2025 at 20:39, Hans Henrik Bergan wrote:

> Can we add the BLAKE3 hash?
>
> Created a PR here: https://github.com/php/php-src/pull/13194
> Created a RFC draft here: https://wiki.php.net/rfc/blake3

I'm *generally* somewhat concerned regarding the amount of code (growth)
in ext/hash, which is a bundled extension and such must not rely on
external libraries.  All this code needs to be maintained by the php-src
maintainers, and build by everyone who wants to build php-src, although
probably few actually use the less common hash algorithms.

Maybe we should consider creating a new PECL/PIE extension, where new
algorithms can be added first, and if popular enough, later be moved
into ext/hash.  And it might be worthwhile to move some of the less
useful algorithms to the new PECL/PIE extension.

Christoph

Reply via email to