xxHash Build Status

Ruby wrapper for xxHash

Install

gem install xxhash

Usage

require 'xxhash'

text = "test"
seed = 12345

XXhash.xxh32(text, seed) # => 3834992036

Supported Ruby versions

  • MRI 1.9.3
  • rbx-19mode

Note: It doesn't work on JRuby as it uses C extension.

Versioning

Version 0.1.0 is equal to r29

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright (c) 2012 Vasiliy Ermolovich. See LICENSE.txt for further details.