{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20120331%2F1333203413\" title=\"JS\u3067RSA - \u6a4b\u672c\u8a73\u89e3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://shokai.hatenadiary.org/entry/20120331/1333203413","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://shokai.hatenadiary.org/","version":"1.0","height":"190","description":"JS\u3067RSA\u6697\u53f7\u304c\u4f7f\u3048\u308b\u3084\u3064\u4f7f\u3063\u3066\u307f\u305f http://cryptico.wwwtyro.net/\u9375\u4f5c\u308b var pass = 'kazusuke'; var rsa_key = cryptico.generateRSAKey(pass, 1024); var pub_key = cryptico.publicKeyString(rsa_key); 'hello'\u3092\u6697\u53f7\u5316 var enc = cryptico.encrypt('hello', pub_key); console.log(enc.cipher); \u5fa9\u53f7\u3059\u308b\u3068hello\u304c\u51fa\u3066\u304f\u308b var dec = cryptico.decrypt\u2026","type":"rich","published":"2012-03-31 23:16:53","categories":["JavaScript"],"width":"100%","author_url":"https://blog.hatena.ne.jp/shokai/","author_name":"shokai","provider_name":"Hatena Blog","blog_title":"\u6a4b\u672c\u8a73\u89e3","title":"JS\u3067RSA"}