Class: HMAC::SHA384
Instance Method Summary collapse
-
#initialize(key = nil) ⇒ SHA384
constructor
A new instance of SHA384.
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/hmac/sha2.rb', line 13 def initialize(key = nil) super(Digest::SHA384, 128, 48, key) end |