murmur3cr32b
By the book pure crystal implementation of the 32 bit variant of MurmurHash3
Installation
-
Add the dependency to your
shard.yml
:dependencies: murmur3cr32b: github: globoplox/murmur3cr32b
-
Run
shards install
Usage
require "murmur3cr32b"
hash : UInt32 = MurmurHash3.hash_32b "text to hash".bytes, seed: Random::DEFAULT.next_u
Contributors
- globoplox - creator and maintainer