A new instance of SHA1.
#digest, #hexdigest, #reset_key, #set_key, #to_s, #update
Returns a new instance of SHA1.
6 7 8
# File 'lib/extensions/hmac/hmac-sha1.rb', line 6 def initialize(key = nil) super(Digest::SHA1, 64, 20, key) end