digest icon indicating copy to clipboard operation
digest copied to clipboard

Provides a framework for message digest libraries.

Results 13 digest issues
Sort by recently updated
recently updated
newest added

Using constants under the `Digest::` namespace are loaded through `const_missing`, but this has been observed to not be thread-safe and can cause errors regarding `Digest::Base`. We should more prominently encourage...

Hello. We are facing a weird issue where as soon as `digest` dependency appears for the project, it breaks jruby loading openssl extension: ``` NameError: cannot load (ext) (org.jruby.ext.openssl.OpenSSL) org/jruby/ext/jruby/JRubyUtilLibrary.java:201:in...

OS: SLES 15 SP4 ruby: ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux-gnu] (from SLES distro) digest gem version: 3.1.1 (latest avail at time of writing) The `actionmailer` gem from v7.0.1, as...

Digest is ~5x slower for SHA1, SHA2, and SHA256 on Ruby 3.x compared to Ruby 2.x. See https://gist.github.com/morimori/1330095#gistcomment-3975819 for more details and the benchmark. Note that I tried benchmarking with...

- blake2 [rfc7693](https://tools.ietf.org/html/rfc7693.html): blake2b, blake2s - SHA3 (Keccak) and SHAKE: sha3_224(), sha3_256(), sha3_384(), sha3_512(), shake_128(), shake_256()

When using gcc 13 on macOS: ``` In file included from ../../../../src/ext/digest/md5/md5init.c:7: ../../../../src/ext/digest/md5/md5cc.h: In function 'rb_digest_MD5_update': ../../../../src/ext/digest/md5/md5cc.h:13:1: warning: 'CC_MD5_Update' is deprecated: This function is cryptographically broken and should not be...

This was caused by RubyGems incorrectly activating the wrong gem. https://github.com/rubygems/rubygems/pull/7743 fixed the problem, and has been pushed to ruby/ruby, and is present in the ruby-loco builds used in CI.

Would you be ok with a PR adding SHA3? I'd integrate the code here: https://github.com/mjosaarinen/tiny_sha3 which is MIT-licensed. The C code is a single, short file and has the init/update/finalize...

The BLAKE3 hash function is growing in popularity due to improvements in both security and performance over other hashing functions. There's an open source plugin for this extension that [adds...

Ruby 3.4 was released with digest 3.2.0, but the gem was never released. Please release it?