End of Life Ruby 3.2 has reached end of life and gets no more fixes. 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.2.0/ext/openssl/lib/openssl/hmac.rb, line 17
def base64digest
[digest].pack("m0")
end
Returns the authentication code an a Base64-encoded string.