module Utility::HMAC

Public Instance Methods

hmac(sha, key, data) click to toggle source
# File lib/utility/hmac.rb, line 5
def hmac(sha, key, data)
  OpenSSL::HMAC.hexdigest sha, key, data
end