{"blog_url":"https://y0m0r.hateblo.jp/","published":"2013-05-20 00:28:54","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","title":"python\u3068ruby\u3067HMAC-SHA256","width":"100%","height":"190","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20130520%2F1369063734\" title=\"python\u3068ruby\u3067HMAC-SHA256 - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["python","ruby"],"description":"import hmac import hashlib secret_key = \"secret_key\" message = 'message' print hmac.new(secret_key, message, hashlib.sha256).hexdigest() # => ebb8d2ee5dcad6e9d6fc0b606811f9f03036bdd419a364d1a1ce1afa1bea61fd require 'openssl' secret_key = 'secret_key' message = 'message' puts OpenSSL::HMAC::hexdigest\u2026","version":"1.0","image_url":null,"author_name":"yuheiomori0718","provider_name":"Hatena Blog","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","url":"https://y0m0r.hateblo.jp/entry/20130520/1369063734","type":"rich"}