Skip to content
murmurhash1 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-murmurhash1

murmurhash1 digest.

puts MurmurHash1::digest('mruby') #=> "\xdc\x1f\x3f\x3f"

Installation

use github repository

Write in build_config.rb

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

or use mgem

mgem add mruby-murmurhash1

build

and exec.

rake clean
rake test
rake
mruby -e 'puts MurmurHash1::digest("mruby")'
You can’t perform that action at this time.