{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftiny-wing.hatenablog.com%2Fentry%2F2015%2F11%2F19%2F110115\" title=\"CryptoSwift\u3067AES\u6697\u53f7 (AES-256-CBC) - \u30bf\u30b3\u3055\u3093\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"tiny_wing","height":"190","provider_url":"https://hatena.blog","blog_url":"https://tiny-wing.hatenablog.com/","width":"100%","url":"https://tiny-wing.hatenablog.com/entry/2015/11/19/110115","title":"CryptoSwift\u3067AES\u6697\u53f7 (AES-256-CBC)","image_url":null,"description":"CryptoSwift\u3092\u4f7f\u7528\u3057\u3066\u3001 \u5e73\u6587\u3092Swift\u5074\u3067\u6697\u53f7\u5316\u3057\u3001Ruby\u5074\u3067\u5fa9\u53f7\u5316\u3059\u308b\u3002 \u6697\u53f7\u65b9\u5f0f\u306fAES\u3001\u9375\u306f256\u30d3\u30c3\u30c8\u9577\u3001\u6697\u53f7\u5229\u7528\u30e2\u30fc\u30c9\u306fCBC\u3001\u30d1\u30c7\u30a3\u30f3\u30b0\u65b9\u5f0f\u306fPKCS\u3092\u4f7f\u7528\u3059\u308b\u3002 \u74b0\u5883 Xcode 7.1.1 Swift 2.1 \u6e96\u5099 \u9069\u5f53\u306a256\u30d3\u30c3\u30c8\u9577\u306e\u9375\uff08\u6587\u5b57\u5217\uff09\u3092\u7528\u610f\u3059\u308b\u3002 BDC171111B7285F67F035497EE9A081D Swift // \u6697\u53f7\u5316\u3059\u308b\u5e73\u6587 let cleartext = \"Hello CryptoSwift\" // \u5e73\u6587\u3092\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u3001\u3055\u3089\u306b\u30d0\u30a4\u30c8\u5217\u306b\u5909\u63db let byteText = cleartext.dataUsingEncoding\u2026","blog_title":"\u30bf\u30b3\u3055\u3093\u30d6\u30ed\u30b0","categories":["iOS","swift"],"type":"rich","published":"2015-11-19 11:01:15","provider_name":"Hatena Blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/tiny_wing/"}