Re: BLAKE3 hash redux

From: Date: Fri, 24 Jan 2025 22:15:56 +0000
Subject: Re: BLAKE3 hash redux
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-126222@lists.php.net to get a copy of this message
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

« previous php.internals (#126222) next »