<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shimooka</author_name>
  <author_url>https://blog.hatena.ne.jp/shimooka/</author_url>
  <blog_title>Do You PHP はてブロ</blog_title>
  <blog_url>https://shimooka.hateblo.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>ラボブログの続きですが。。。 mcryptのpaddingは 平文の長さがブロックサイズ倍になるように ASCIIZ('\0')を付けるだけなので, base64化することで末尾のASCIIZを正しく保持する効果があると思われます（試してはいません）. 今回挙げたサンプルを作る際、復号データの末尾に何か付加されているのは確認していたのですが、base64_encodeするとうまくいったので、今回はそれ以上深く追っていませんでした。また、コメントにある「padding」を見て、パディングのことをすっかり忘れていたことを思い出しました。ということで、PEAR::Crypt_Blowfishを使った…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshimooka.hateblo.jp%2Fentry%2F20071108%2F1194449912&quot; title=&quot;「PHPで暗号化・復号あれこれ」の続き - Do You PHP はてブロ&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>2007-11-08 00:38:32</published>
  <title>「PHPで暗号化・復号あれこれ」の続き</title>
  <type>rich</type>
  <url>https://shimooka.hateblo.jp/entry/20071108/1194449912</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
