xxHash Build Status

Ruby wrapper for xxHash


gem install xxhash


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.


Version 0.1.0 is equal to r29


  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.