<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amagitakayosi</author_name>
  <author_url>https://blog.hatena.ne.jp/amagitakayosi/</author_url>
  <blog_title>マルシテイア</blog_title>
  <blog_url>https://blog.amagi.dev/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>なんでや？ PerlでMD5を計算する為のモジュールDigest::MD5を使ってみた。 このモジュール、2通りの書き方で使えて、OOPっぽい書き方とCっぽい書き方ができるんだけど、この2つで違う結果が出るっぽいな？？？ 以下Gist。 1例目は文字列でやってみた例。 2例目は、ここ見て、文字列突っ込んでるのがいけないのか？と思い、packでバイナリ作って突っ込んだ例。 Digest::MD5 hex digest ??? どっちも変…… 何故だ 追記 (2014/02/17 0:48) id:moznion氏が解説してくれましｇた 初歩的な間違いだった…… Digest::MD5のもろもろに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.amagi.dev%2Fentry%2F2014%2F01%2F31%2F174915&quot; title=&quot;Digest::MD5がOOP形式と関数形式で違う結果になる（追記あり） - マルシテイア&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>2014-01-31 17:49:15</published>
  <title>Digest::MD5がOOP形式と関数形式で違う結果になる（追記あり）</title>
  <type>rich</type>
  <url>https://blog.amagi.dev/entry/2014/01/31/174915</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
