Skip to content
murmurhash2 digest in mruby.
C Ruby
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
LICENSE.txt
README.md
mrbgem.rake

README.md

mruby-murmurhash2

murmurhash2 digest.

puts MurmurHash2::digest('mruby') #=> "\xda\x2a\x7f\xca"

Installation

use github repository

Write in build_config.rb

MRuby::Build.new do |conf|
  conf.gem :github => 'ksss/mruby-murmurhash2', :branch => 'master'
end

or use mgem

mgem add mruby-murmurhash2

build

and exec.

rake clean
rake test
rake
mruby -e 'puts MurmurHash2::digest("mruby")'

See also

https://sites.google.com/site/murmurhash/

You can’t perform that action at this time.