Skip to content

Pure crystal implementation of MurmurHash3 32 bit variant

License

Notifications You must be signed in to change notification settings

Globoplox/murmur3cr32b

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

murmur3cr32b

By the book pure crystal implementation of the 32 bit variant of MurmurHash3

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      murmur3cr32b:
        github: globoplox/murmur3cr32b
  2. Run shards install

Usage

require "murmur3cr32b"

hash : UInt32 = MurmurHash3.hash_32b "text to hash".bytes, seed: Random::DEFAULT.next_u

Contributors