{"url":"https://teahousephantom.hatenadiary.org/entry/20141020/1413811980","version":"1.0","published":"2014-10-20 22:33:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fteahousephantom.hatenadiary.org%2Fentry%2F20141020%2F1413811980\" title=\"PHP \u3067 AES-256-CBC \u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316 - TeahousePhantomProgramDiary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_name":"TeahousePhantom","type":"rich","blog_url":"https://teahousephantom.hatenadiary.org/","title":"PHP \u3067 AES-256-CBC \u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316","height":"190","categories":["AES","CBC","PHP"],"provider_url":"https://hatena.blog","image_url":null,"description":"\u7dba\u9e97\u306b\u307e\u3068\u307e\u3063\u305f\u306e\u3067\u66f8\u304d\u8fbc\u3093\u3067\u304a\u304d\u307e\u3059\u3002 <?php //http://qiita.com/ymmtmsys/items/a38d4ddadf548c8a482c \u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002 $plain_data = 'plain text'; $password = 'PASSWORD'; $method = 'AES-256-CBC'; $initial_vector_length = openssl_cipher_iv_length($method); $initial_vector = mcrypt_create_iv($initial_vector_length, MCRYPT_RAND)\u2026","blog_title":"TeahousePhantomProgramDiary","width":"100%","author_url":"https://blog.hatena.ne.jp/TeahousePhantom/"}