Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Digest::Instance#base64digest!
base64digest!
ext/digest/lib/digest.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ext/digest/lib/digest.rb, line 88
def base64digest!
[digest!].pack('m0')
end
Returns the resulting hash value and resets the digest to the initial state.