{"blog_url":"https://tiny-wing.hatenablog.com/","width":"100%","url":"https://tiny-wing.hatenablog.com/entry/2015/12/17/163845","categories":["iOS","swift"],"type":"rich","provider_name":"Hatena Blog","image_url":null,"version":"1.0","title":"CommonCrypto\u306eSwift\u88fd\u30e9\u30c3\u30d1\u30fc IDZSwiftCommonCrypto \u3092\u4f7f\u3063\u3066\u307f\u308b","published":"2015-12-17 16:38:45","blog_title":"\u30bf\u30b3\u3055\u3093\u30d6\u30ed\u30b0","height":"190","author_url":"https://blog.hatena.ne.jp/tiny_wing/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftiny-wing.hatenablog.com%2Fentry%2F2015%2F12%2F17%2F163845\" title=\"CommonCrypto\u306eSwift\u88fd\u30e9\u30c3\u30d1\u30fc IDZSwiftCommonCrypto \u3092\u4f7f\u3063\u3066\u307f\u308b - \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>","provider_url":"https://hatena.blog","author_name":"tiny_wing","description":"IDZSwiftCommonCrypto \u3092\u4f7f\u3063\u3066\u307f\u308b IDZSwiftCommonCrypto \u306f Apple\u306e CommonCrypto \u306eSwift\u30e9\u30c3\u30d1\u30fc\u3067\u3001Realm\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u8a66\u3057\u3066\u307f\u305f\u3002CryptoSwift\u3067AES\u6697\u53f7 (AES-256-CBC) - \u30bf\u30b3\u3055\u3093\u30d6\u30ed\u30b0\u3068\u540c\u3058\u3088\u3046\u306b Swift\u5074\u3067IDZSwiftCommonCrypto\u3092\u4f7f\u3063\u3066\u6697\u53f7\u5316\uff08AES-256-CBC\uff09\u3057\u3001Ruby\u5074\u3067\u5fa9\u53f7\u5316\u3059\u308b\u3002 \u74b0\u5883 Xcode 7.2 Swift 2.1 IDZSwiftCommonCrypto\u3067\u6697\u53f7\u5316\uff08AES-256-CBC\uff09 do { // \u6697\u53f7\u5316\u3059\u308b\u5e73\u6587 let \u2026"}