Class: HMAC::MD5

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

Instance Method Summary collapse

Methods inherited from Base

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

Constructor Details

#initialize(key = nil) ⇒ MD5

Returns a new instance of MD5.



6
7
8
# File 'lib/hmac-md5.rb', line 6

def initialize(key = nil)
  super(Digest::MD5, 64, 16, key)
end