{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/liquid/issues/703","repository_url":"https://api.github.com/repos/Shopify/liquid","labels_url":"https://api.github.com/repos/Shopify/liquid/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/liquid/issues/703/comments","events_url":"https://api.github.com/repos/Shopify/liquid/issues/703/events","html_url":"https://github.com/Shopify/liquid/pull/703","id":135509196,"number":703,"title":"Adds hmac_sha256","user":{"login":"bobjflong","id":2264896,"avatar_url":"https://avatars.githubusercontent.com/u/2264896?v=3","gravatar_id":"","url":"https://api.github.com/users/bobjflong","html_url":"https://github.com/bobjflong","followers_url":"https://api.github.com/users/bobjflong/followers","following_url":"https://api.github.com/users/bobjflong/following{/other_user}","gists_url":"https://api.github.com/users/bobjflong/gists{/gist_id}","starred_url":"https://api.github.com/users/bobjflong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobjflong/subscriptions","organizations_url":"https://api.github.com/users/bobjflong/orgs","repos_url":"https://api.github.com/users/bobjflong/repos","events_url":"https://api.github.com/users/bobjflong/events{/privacy}","received_events_url":"https://api.github.com/users/bobjflong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-22T18:59:54Z","updated_at":"2016-02-24T16:13:55Z","closed_at":"2016-02-24T15:57:33Z","pull_request":{"url":"https://api.github.com/repos/Shopify/liquid/pulls/703","html_url":"https://github.com/Shopify/liquid/pull/703","diff_url":"https://github.com/Shopify/liquid/pull/703.diff","patch_url":"https://github.com/Shopify/liquid/pull/703.patch"},"body":"We would like to use Shopify proxies to generate authentication codes as a security feature."},"comment":{"url":"https://api.github.com/repos/Shopify/liquid/issues/comments/188327463","html_url":"https://github.com/Shopify/liquid/pull/703#issuecomment-188327463","issue_url":"https://api.github.com/repos/Shopify/liquid/issues/703","id":188327463,"user":{"login":"fw42","id":2072686,"avatar_url":"https://avatars.githubusercontent.com/u/2072686?v=3","gravatar_id":"","url":"https://api.github.com/users/fw42","html_url":"https://github.com/fw42","followers_url":"https://api.github.com/users/fw42/followers","following_url":"https://api.github.com/users/fw42/following{/other_user}","gists_url":"https://api.github.com/users/fw42/gists{/gist_id}","starred_url":"https://api.github.com/users/fw42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fw42/subscriptions","organizations_url":"https://api.github.com/users/fw42/orgs","repos_url":"https://api.github.com/users/fw42/repos","events_url":"https://api.github.com/users/fw42/events{/privacy}","received_events_url":"https://api.github.com/users/fw42/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T16:13:55Z","updated_at":"2016-02-24T16:13:55Z","body":"Just added the following filters to Shopify:\r\n```\r\n  def sha256(input)\r\n    Digest::SHA256.hexdigest(input.to_s)\r\n  end\r\n\r\n  def hmac_sha1(input, secret)\r\n    OpenSSL::HMAC.hexdigest('sha1', secret.to_s, input.to_s)\r\n  end\r\n\r\n  def hmac_sha256(input, secret)\r\n    OpenSSL::HMAC.hexdigest('sha256', secret.to_s, input.to_s)\r\n  end\r\n```"}}