4 ms·
SHA-3 in Ruby: $ gem install sha3 $ irb > require 'sha3' > s = SHA3::Digest::SHA224.new > s.update("\x00") > s.update("\x00" *
by all_these_years 4y ago
SHA-3 in Ruby:
$ gem install sha3
$ irb
> require 'sha3'
> s = SHA3::Digest::SHA224.new
> s.update("\x00")
> s.update("\x00" * 4294967295)
[ Segmentation fault... ]
Tested with Ruby 3.1.2
Gem's code (including C native extension): https://github.com/johanns/sha3 https://github.com/johanns/sha3