lib/gibberish/hmac.rb in gibberish-1.3.1 vs lib/gibberish/hmac.rb in gibberish-1.4.0

- old
+ new

@@ -23,14 +23,14 @@ # # Gibberish::HMAC('password', 'stuff') # class HMAC DIGEST = { - :sha1 => OpenSSL::Digest::Digest.new('sha1'), - :sha224 => OpenSSL::Digest::Digest.new('sha224'), - :sha256 => OpenSSL::Digest::Digest.new('sha256'), - :sha384 => OpenSSL::Digest::Digest.new('sha384'), - :sha512 => OpenSSL::Digest::Digest.new('sha512') + :sha1 => OpenSSL::Digest.new('sha1'), + :sha224 => OpenSSL::Digest.new('sha224'), + :sha256 => OpenSSL::Digest.new('sha256'), + :sha384 => OpenSSL::Digest.new('sha384'), + :sha512 => OpenSSL::Digest.new('sha512') } # Returns the HMAC for the key and data # # Shorcut alias: Gibberish::HMAC(key, data)