Class: HMAC::SHA512

Inherits:
Base
  • Object
show all
Defined in:
lib/hmac/sha2.rb

Instance Method Summary collapse

Methods inherited from Base

#digest, #hexdigest, #reset_key, #set_key, #to_s, #update

Constructor Details

#initialize(key = nil) ⇒ SHA512

Returns a new instance of SHA512.



20
21
22
# File 'lib/hmac/sha2.rb', line 20

def initialize(key = nil)
  super(Digest::SHA512, 128, 64, key)
end