murmurhash1 digest in mruby.
C Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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")'