Class: HMAC::SHA384

Inherits:
Base show all
Defined in:
lib/extensions/hmac/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) ⇒ SHA384

Returns a new instance of SHA384.



13
14
15
# File 'lib/extensions/hmac/hmac-sha2.rb', line 13

def initialize(key = nil)
  super(Digest::SHA384, 128, 48, key)
end