Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 700 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 700 Bytes

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