{"provider_name":"Hatena Blog","author_name":"yuheiomori0718","type":"rich","version":"1.0","image_url":null,"blog_url":"https://y0m0r.hateblo.jp/","provider_url":"https://hatena.blog","description":"python # coding=utf-8 import hashlib text = \"\u4efb\u610f\u306e\u6587\u5b57\u5217\" #print hashlib.sha224(text).hexdigest() print hashlib.sha256(text).hexdigest() print hashlib.sha384(text).hexdigest() print hashlib.sha512(text).hexdigest() ruby # -*- encoding: utf-8 -*- require \"digest/sha2\" text = \"\u4efb\u610f\u306e\u6587\u5b57\u5217\" puts Digest::SHA2.new\u2026","published":"2013-02-13 00:00:36","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20130213%2F1360767636\" title=\"Python/Ruby\u3067SHA-2 - \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>","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","title":"Python/Ruby\u3067SHA-2","url":"https://y0m0r.hateblo.jp/entry/20130213/1360767636","width":"100%","height":"190","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","categories":["memo","python","ruby"]}