Hi, I've forked out an interesting project on Github that implements XXHash and extended it to work with the hash() function family. Project links below.
The integration is pretty straightforward, but the following code had me concerned: PHP_HASH_API void PHP_XXH32Update(PHP_XXH32_CTX *context, const unsigned char *input, unsigned int inputLen) { XXH32_feed(context->state, (void *)input, (int)inputLen); } The XXH32_feed() takes an int argument, whereas the update ops function takes an unsigned int for the input length. Would that ever give a problem? If so, what kind of workaround am I looking at? Thanks! Project links: php-xxhash: https://github.com/datibbaw/php-xxhash XXHash: http://code.google.com/p/xxhash/