z38/murmurhash

Murmur3F implementation for PHP

v0.1.0 2016-11-10 20:04 UTC

This package is auto-updated.

Last update: 2024-05-07 03:42:47 UTC


README

Build Status on Linux Build Status on Windows Scrutinizer Code Quality Latest Stable Version

PHP implementation of MurmurHash3_x64_128.

Installation

Just install Composer and run composer require z38/murmurhash in your project directory.

Usage

$hash = new Z38\MurmurHash\Murmur3F();

$hash->write('The quick brown fox jumps over the lazy dog.');

echo bin2hex($hash->sum()); // c902e99e1f4899cde7b68789a3a15d69