{"width":"100%","provider_name":"Hatena Blog","description":"\u672c\u8a18\u4e8b\u306b\u8a18\u8f09\u306eOpenSSL\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u3067\u3059 v1.1.1d\u306eAPI\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u3069\u3046\u305e OpenSSL\u3092\u4f7f\u3063\u3066AES\u3067\u6697\u53f7\u5316\u3002 \u6697\u53f7\u5316 #include <openssl/evp.h> EVP_CIPHER_CTX ctx = {}; EVP_CIPHER_CTX_init(&ctx); // \u6697\u53f7\u5316\u306e\u8a2d\u5b9a\u3067\u3001EVP_aes_128_ecb\u7b49\u3044\u308d\u3044\u308d const unsigned char iv[16] = {}; EVP_EncryptInit_ex(&ctx, EVP_aes_128_cbc(), NULL, key, iv); // \u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\u3067\u5272\u308a\u5207\u308c\u308b\u90e8\u5206\u306e\u51e6\u7406\u2026","height":"190","image_url":null,"blog_title":"kkAyataka\u306e\u30e1\u30e2\u5e33\u3002","author_url":"https://blog.hatena.ne.jp/kkAyataka/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkkayataka.hatenablog.com%2Fentry%2F2015%2F10%2F24%2F174356\" title=\"OpenSSL\u3092\u4f7f\u3063\u305f\u6697\u53f7\u5316 - kkAyataka\u306e\u30e1\u30e2\u5e33\u3002\" 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","type":"rich","published":"2015-10-24 17:43:56","title":"OpenSSL\u3092\u4f7f\u3063\u305f\u6697\u53f7\u5316","url":"https://kkayataka.hatenablog.com/entry/2015/10/24/174356","categories":["C++"],"blog_url":"https://kkayataka.hatenablog.com/","author_name":"kkAyataka"}