<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kiririmode</author_name>
  <author_url>https://blog.hatena.ne.jp/kiririmode/</author_url>
  <blog_title>理系学生日記</blog_title>
  <blog_url>https://kiririmode.hatenablog.jp/</blog_url>
  <categories>
    <anon>java</anon>
    <anon>unix</anon>
  </categories>
  <description>Java で AES 暗号化とかやってて、コマンドラインで簡単に試せれば良いのになぁとか思ってたら、openssl 使ったら余裕で暗号化できることに気付いた。 例えば、AES/CBC の 128 bit 鍵長で暗号化したい場合は、以下のようにすれば良い。 -e は暗号化、-d は復号化を示している。 $ echo &quot;kiririmode&quot; | openssl aes-128-cbc -e -base64 enter aes-128-cbc encryption password: Verifying - enter aes-128-cbc encryption password: U2FsdG…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20160402%2F1459603950&quot; title=&quot;コマンドラインで簡単にAES暗号化、または Java での AES 暗号化 - 理系学生日記&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>2016-04-02 22:32:30</published>
  <title>コマンドラインで簡単にAES暗号化、または Java での AES 暗号化</title>
  <type>rich</type>
  <url>https://kiririmode.hatenablog.jp/entry/20160402/1459603950</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
