Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
OpenSSL::HMAC#base64digest
hmac.base64digest → string
ext/openssl/lib/openssl/hmac.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ext/openssl/lib/openssl/hmac.rb, line 17
def base64digest
[digest].pack("m0")
end
Returns the authentication code an a Base64-encoded string.