Project

keccak256

0.0
Low commit activity in last 3 years
An implementation of Keccak256 (the hash function used by Ethereum) in pure Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Dependencies

Development

>= 0
 Project Readme

Keccak256 Gem

Note: This is a fork of havenwood/sha3-pure-ruby to add support for the (older) Keccak version this hashing algorithm which Ethereum uses.

A pure Ruby implementation of Keccak256.

Installation

Install it from the command line:

gem install keccak256

Or execute bundle after adding this line to your app's Gemfile:

gem 'keccak256'

Usage Example

Digest::Keccak256.new.hexdigest 'cat'
#=> "52763589e772702fa7977a28b3cfb6ca534f0208a2b2d55f7558af664eac478a"

License

Creative Commons

See original license: havenwood/sha3-pure-ruby