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