{"repo":"q9f/keccak.rb","free":true,"listed":false,"github":"https://github.com/q9f/keccak.rb","clone":"git clone https://github.com/q9f/keccak.rb.git","description":"ruby bindings for the keccak (sha-3) hash used by ethereum.","language":"C","stars":28,"topics":["ruby","gems","sha3","keccak","ethereum"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"The Keccak (SHA3 candidate) digest for Ruby This Ruby extension exposes the Keccak (SHA3 candidate) digest C bindings in the non-final version used by Ethereum. It is based on the reference C implementation, version 3.2. The exposed interface is almost identical to that of the digest standard library. See #16. Installation The gem is called keccak . Usage This gem extends the digest/ module by a digest/keccak class. Keccak supports five hash lengths: 224-bit, 256-bit, 384-bit, 512-bit and variable length. Variable length is not supported by this Ruby extension. Unless the user specifies otherwise, this Ruby extension assumes 512-bit. Running the test suite Run the test suite as follows: A part of the test suite is automatically generated from Keccak's reference test suite. Warning: Keccak vs. SHA3 :warning: This gem does not implement the final FIPS202 standard, today known as SHA3 but rather an early version, commonly referred to as Keccak. The reason why this is kept around, is that Ethereum uses this earler version of Keccak. See also: Ethereum: Difference between keccak256 and sha3. If you are looking for the final SHA3 gem, please use the following: https://rubygems.org/gems/sha3 History This gem was initially developed and published as digest-sha3 : https://github.com/phusion/digest-sha3-ruby This gem was later patched multiple times: https://github.com/teamhedge/digest-sha3-ruby (KECCAK, as digest-sha3-patched ) https://github.com/sydneyitguy/digest-sha3-ruby (KECCAK, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/q9f","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/q9f/keccak.rb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}