<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rsky</author_name>
  <author_url>https://blog.hatena.ne.jp/rsky/</author_url>
  <blog_title>讃容日記</blog_title>
  <blog_url>https://blog.r-sky.jp/</blog_url>
  <categories>
    <anon>Mac</anon>
    <anon>PHP</anon>
  </categories>
  <description>Pure PHP で SHA-256 を実装した人もいるけど、使ってみたところパフォーマンス的に苦しかったので mhash を使って適当に作ってみた。256 を 224/384/512 に変えても OK. function sha256($str, $raw_output = false) { $hash = mhash(MHASH_SHA256, $str); return ($raw_output) ? $hash : bin2hex($hash); } function sha256_file($filename, $raw_output = false) { return sha256…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.r-sky.jp%2Fentry%2F20051118%2Fp2&quot; title=&quot; SHA-256 - 讃容日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-11-18 00:00:01</published>
  <title> SHA-256</title>
  <type>rich</type>
  <url>https://blog.r-sky.jp/entry/20051118/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
