Created
November 18, 2014 09:51
-
-
Save perusio/77779624f9c6114bb189 to your computer and use it in GitHub Desktop.
Using Murmurhash2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Require the library. | |
mmh2 = require "murmurhash2"' | |
-- Returns a hex representation of the hash. | |
string.format('%x', mmh2('<string>')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment