Sha256: 789d59bc98f46e556f2a0c9e484890ecf2fc90e1f15f677e0176a09dfac3a06b

Contents?: true

Size: 1022 Bytes

Versions: 1

Compression:

Stored size: 1022 Bytes

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 use algorithm of 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") #=> '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.0.1 README.md