<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shawshank99</author_name>
  <author_url>https://blog.hatena.ne.jp/shawshank99/</author_url>
  <blog_title>にょきにょきブログ</blog_title>
  <blog_url>https://aoking.hatenablog.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>ハッシュ値を得たいときに使用するmd5は危険性が指摘されているので、別のアルゴリズムで代替する必要がある。 例えば、SHA-256など。こういうmd5以外のアルゴリズムを用いてハッシュ値を得るには hash 関数を使う。 http://php.plus-server.net/function.hash.html同様に秘密鍵と組み合わせてHMACを計算する hash_hmac 関数もある。 http://php.plus-server.net/function.hash-hmac.html 同一のハッシュ値を持つデータ列は割と簡単に作れてしまうそうで。 ということは同じハッシュを生成するデータ流…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faoking.hatenablog.jp%2Fentry%2F20100104%2F1262600510&quot; title=&quot;md5以外のハッシュ値を生成したいときは - にょきにょきブログ&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>2010-01-04 19:21:50</published>
  <title>md5以外のハッシュ値を生成したいときは</title>
  <type>rich</type>
  <url>https://aoking.hatenablog.jp/entry/20100104/1262600510</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
