A new instance of SHA512.
#digest, #hexdigest, #reset_key, #set_key, #to_s, #update
Returns a new instance of SHA512.
20 21 22
# File 'lib/extensions/hmac/hmac-sha2.rb', line 20 def initialize(key = nil) super(Digest::SHA512, 128, 64, key) end