Sha256: 09e9d99fde54c5facb22a65651dba882110da91d432ab1827f2db5ff76d2cf52
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
# Digest::MurmurHash [![Build Status](https://travis-ci.org/ksss/digest-murmurhash.png?branch=master)](https://travis-ci.org/ksss/digest-murmurhash) Digest::MurmurHash is a class of use algorithm MurmurHash(MurmurHash1 32-bit) desiged by Austin Appleby. Digest::MurmurHash compliance Digest API of Ruby. ## Usage All interface compliance Digest::Base. You can use same interface built in Digest::XXX classes. ```ruby require 'digest/murmurhash' p Digest::MurmurHash.hexdigest('murmurhash') #=> 'c709abd5' p Digest::MurmurHash.file("./LICENSE.txt").hexdigest #=> '712e9641' ``` ## Class tree Digest::MurmurHash < Digest::Base < Digest::Instance < Digest::Class < Object < Kernel < BasicObject ## Installation Add this line to your application's Gemfile: gem 'digest-murmurhash' And then execute: $ bundle Or install it yourself as: $ gem install digest-murmurhash ## License See the file LICENSE.txt. ## See also [https://sites.google.com/site/murmurhash/](https://sites.google.com/site/murmurhash/)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
digest-murmurhash-0.1.0 | README.md |