Project

anyhash

0.0
No commit activity in last 3 years
No release in over 3 years
Hash functions based on RHash
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
>= 0
~> 3.0.0.rc1
 Project Readme

anyhash

Hash functions based on RHash.

Installation

Install RHash:

# Ubuntu
$ sudo apt-get install rhash

# Mac OS
$ brew install rhash

Add this line to your application's Gemfile:

gem 'anyhash'

Or install it yourself as:

$ gem install anyhash

Usage

> Anyhash.gost('a')
=> "d42c539e367c66e9c88a801f6649349c21871b4344c6a573f849fdce62f314dd"

> Anyhash.gost_cryptopro('a')
=> "e74c52dd282183bf37af0079c9f78055715a103f17e3133ceff1aacf2f403011"

Contributing

  1. Fork it ( https://github.com/bashmish/anyhash/fork )
  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 a new Pull Request