Class: HMAC::RMD160

Inherits:
Base show all
Defined in:
lib/extensions/hmac/hmac-rmd160.rb

Instance Method Summary collapse

Methods inherited from Base

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

Constructor Details

#initialize(key = nil) ⇒ RMD160

Returns a new instance of RMD160.



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

def initialize(key = nil)
  super(Digest::RMD160, 64, 20, key)
end