digest-sha3-ruby icon indicating copy to clipboard operation
digest-sha3-ruby copied to clipboard

Support for Ruby 3?

Open sebayaki opened this issue 4 years ago • 3 comments

It seems it's currently supporting Ruby (~> 2.2) Do you have any plan to support Ruby ~>3.0?

sebayaki avatar May 17 '21 08:05 sebayaki

We are also in need to upgrade to ruby 3 and need to dig if we can support this library or abandon it.

mathieujobin avatar Jan 03 '22 14:01 mathieujobin

We are also in need to upgrade to ruby 3 and need to dig if we can support this library or abandon it.

Hi Mathieu, you can use keccak.rb - https://github.com/q9f/keccak.rb

gem 'keccak', '~> 1.3'

And just rename all Digest::SHA3 references to Digest::Keccak

q9f avatar Jan 03 '22 14:01 q9f

Although it's the real SHA3, not Keccak, my fork works:

gem

gem install specific_install && gem specific_install https://github.com/steakknife/digest-sha3-ruby

bundler

gem 'digest-sha3', git: 'https://github.com/steakknife/digest-sha3-ruby'

skull-squadron avatar Oct 20 '22 23:10 skull-squadron