Class: HMAC::RMD160
Instance Method Summary collapse
-
#initialize(key = nil) ⇒ RMD160
constructor
A new instance of RMD160.
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/hmac-rmd160.rb', line 6 def initialize(key = nil) super(Digest::RMD160, 64, 20, key) end |