{"id":231646,"date":"2021-12-12T09:00:56","date_gmt":"2021-12-12T01:00:56","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=231646"},"modified":"2021-12-06T11:00:34","modified_gmt":"2021-12-06T03:00:34","slug":"the-difference-between-aes-and-rsa","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/the-difference-between-aes-and-rsa.html","title":{"rendered":"\u6d45\u6790AES\u4e0eRSA\u7684\u533a\u522b"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u52a0\u5bc6\u7684\u57fa\u672c\u601d\u60f3\u662f\u5c06\u6570\u636e\u8f6c\u6362\u6210\u4e00\u79cd\u63a9\u76d6\u4e86\u539f\u59cb\u542b\u4e49\u7684\u5f62\u5f0f\uff0c\u53ea\u6709\u7ecf\u8fc7\u9002\u5f53\u6388\u6743\u7684\u4eba\u624d\u80fd\u89e3\u5bc6\u3002\u4f7f\u7528\u76f8\u540c\u6216\u4e0d\u540c\u7684\u5bc6\u94a5\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u89e3\u5bc6\uff0c\u5982\u679c\u52a0\u5bc6\u548c\u89e3\u5bc6\u4f7f\u7528\u76f8\u540c\u7684\u5bc6\u94a5\uff0c\u5219\u79f0\u8be5\u8fc7\u7a0b\u662f\u5bf9\u79f0\u7684\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u4fe1\u606f\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u4e00\u76f4\u90fd\u662f\u4e2a\u5f88\u91cd\u8981\u7684\u8bdd\u9898\uff0c\u4ece\u521a\u5f00\u59cb\u5f53\u7a0b\u5e8f\u5458\u65f6\u9519\u4ee5\u4e3aMD5\u3001SHA1\u8fd9\u4e9b\u54c8\u5e0c\u7b97\u6cd5\u5c31\u662f\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5230\u540e\u6765\u6162\u6162\u63a5\u89e6\u5bf9\u79f0\u52a0\u5bc6\u3001\u975e\u5bf9\u79f0\u52a0\u5bc6\u8fd9\u4e9b\u6982\u5ff5\uff0c\u518d\u5230\u5bf9\u63a5\u5404\u79cd\u5927\u5f00\u53d1\u5e73\u53f0\u63a5\u53e3\u7684\u65f6\u5019\u770b\u5230\u4ed6\u4eec\u901a\u8fc7 RSA \u8fdb\u884c\u7b7e\u540d\u914d\u5408 AES \u52a0\u5bc6\u62a5\u6587\u8fd9\u4e9b\u65b9\u5f0f\u9632\u6b62\u63a5\u53e3\u53c2\u6570\u88ab\u7be1\u6539\u548c\u4fe1\u606f\u6cc4\u9732\u3002\u4eca\u5929\u5c31\u7b80\u5355\u7684\u68b3\u7406\u4e00\u4e0b\u4e24\u79cd\u52a0\u5bc6\u7b97\u6cd5\u7684\u533a\u522b\u548c\u5404\u81ea\u9002\u7528\u7684\u573a\u666f\u3002<\/p>\n

\u52a0\u5bc6\u7b97\u6cd5\u7684\u5206\u7c7b<\/strong><\/div>\n

\u52a0\u5bc6\u7684\u57fa\u672c\u601d\u60f3\u662f\u5c06\u6570\u636e\u8f6c\u6362\u6210\u4e00\u79cd\u63a9\u76d6\u4e86\u539f\u59cb\u542b\u4e49\u7684\u5f62\u5f0f\uff0c\u53ea\u6709\u7ecf\u8fc7\u9002\u5f53\u6388\u6743\u7684\u4eba\u624d\u80fd\u89e3\u5bc6\u3002\u4f7f\u7528\u76f8\u540c\u6216\u4e0d\u540c\u7684\u5bc6\u94a5\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u89e3\u5bc6\uff0c\u5982\u679c\u52a0\u5bc6\u548c\u89e3\u5bc6\u4f7f\u7528\u76f8\u540c\u7684\u5bc6\u94a5\uff0c\u5219\u79f0\u8be5\u8fc7\u7a0b\u662f\u5bf9\u79f0\u7684\u3002\u5982\u679c\u4f7f\u7528\u4e0d\u540c\u7684\u5bc6\u94a5\uff0c\u5219\u8be5\u8fc7\u7a0b\u88ab\u5b9a\u4e49\u4e3a\u975e\u5bf9\u79f0\u7684\u3002<\/p>\n

\u5f53\u4eca\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u4e24\u79cd\u52a0\u5bc6\u7b97\u6cd5\u662f AES \u548c RSA\u3002\u4e24\u8005\u90fd\u975e\u5e38\u6709\u6548\u548c\u5b89\u5168\uff0c\u4f46\u5b83\u4eec\u901a\u5e38\u4ee5\u4e0d\u540c\u7684\u65b9\u5f0f\u4f7f\u7528\u3002<\/p>\n

AES \u52a0\u5bc6<\/strong><\/div>\n

AES \u7b97\u6cd5\u4f9d\u6b21\u5bf9\u6bcf\u4e2a 128 \u4f4d\u6570\u636e\u5757\u5e94\u7528\u4e00\u7cfb\u5217\u6570\u5b66\u53d8\u6362\u3002\u7531\u4e8e\u8fd9\u79cd\u65b9\u6cd5\u7684\u8ba1\u7b97\u8981\u6c42\u8f83\u4f4e\uff0cAES \u53ef\u7528\u4e8e\u7b14\u8bb0\u672c\u7535\u8111\u548c\u667a\u80fd\u624b\u673a\u7b49\u6d88\u8d39\u7c7b\u8bbe\u5907\u4e0a\u8fdb\u884c\u6570\u636e\u52a0\u5bc6\uff0c\u4ee5\u53ca\u5feb\u901f\u52a0\u5bc6\u5927\u91cf\u6570\u636e\u3002<\/p>\n

AES \u662f\u4e00\u79cd\u5bf9\u79f0\u7b97\u6cd5\uff0c\u5b83\u4f7f\u7528\u76f8\u540c\u7684 128\u3001192 \u6216 256 \u4f4d\u5bc6\u94a5\u8fdb\u884c\u52a0\u5bc6\u548c\u89e3\u5bc6\u3002128\u3001192 \u6216 256 \u4f4d\u7684\u5bc6\u94a5\u53ef\u4ee5\u7406\u89e3\u4e3a\u5206\u522b\u5bf9\u5e9416\u300124\u548c32\u4e2a\u5b57\u8282\u768416\u8fdb\u5236\u5b57\u7b26\u4e32\u5bc6\u94a5\uff0cAES \u7cfb\u7edf\u7684\u5b89\u5168\u6027\u4f1a\u968f\u5bc6\u94a5\u957f\u5ea6\u5448\u6307\u6570\u589e\u957f\u3002<\/p>\n

\u5373\u4f7f\u4f7f\u7528 128 \u4f4d\u5bc6\u94a5\uff0c\u901a\u8fc7\u5bf9 2128 \u4e2a\u53ef\u80fd\u7684\u5bc6\u94a5\u503c\u8fdb\u884c\u66b4\u529b\u679a\u4e3e\uff0c\u6765\u5c1d\u8bd5\u7834\u89e3 AES\u52a0\u5bc6\u540e\u7684\u6570\u636e\u7684\u4efb\u52a1\u4e5f\u662f\u4e2a\u975e\u5e38\u8ba1\u7b97\u5bc6\u96c6\u578b\u7684\u4efb\u52a1\u3002\u4e8b\u5b9e\u4e0a\uff0cAES \u4ece\u672a\u88ab\u7834\u89e3\uff0c\u5e76\u4e14\u6839\u636e\u5f53\u524d\u7684\u6280\u672f\u8d8b\u52bf\uff0c\u9884\u8ba1\u5728\u672a\u6765\u51e0\u5e74\u5185\u4ecd\u5c06\u4fdd\u6301\u5b89\u5168\u3002<\/p>\n

RSA \u52a0\u5bc6<\/strong><\/div>\n

RSA \u4ee5\u9ebb\u7701\u7406\u5de5\u5b66\u9662\u7684\u79d1\u5b66\u5bb6(Rivest\u3001Shamir \u548c Adleman)\u7684\u540d\u5b57\u547d\u540d\uff0c \u4e8e1977 \u5e74\u9996\u6b21\u516c\u5e03\u3002\u5b83\u662f\u4e00\u79cd\u975e\u5bf9\u79f0\u7b97\u6cd5\uff0c\u5b83\u4f7f\u7528\u516c\u5f00\u7684\u5df2\u77e5\u5bc6\u94a5\u8fdb\u884c\u52a0\u5bc6\uff0c\u4f46\u9700\u8981\u53e6\u5916\u4e00\u4e2a\u4e0d\u540c\u7684\u5bc6\u94a5\u8fdb\u884c\u89e3\u5bc6\uff0c\u8fd9\u4e2a\u4e0d\u540c\u7684\u5bc6\u94a5\u53ea\u6709\u9884\u671f\u7684\u63a5\u6536\u8005\u77e5\u9053\u3002<\/p>\n

\u7f51\u4e0a\u4e0d\u5c11\u4f8b\u5b50\u8bf4\u7684\u662f\u516c\u94a5\u7528\u4e8e\u52a0\u5bc6\uff0c\u79c1\u94a5\u7528\u4e8e\u89e3\u5bc6\uff0c\u5176\u5b9e\u8fd9\u4e2a\u8bf4\u6cd5\u4e0d\u5bf9\uff0c\u79c1\u94a5\u548c\u516c\u94a5\u662f\u4e00\u5bf9\uff0c\u90fd\u53ef\u4ee5\u52a0\u89e3\u5bc6\uff0c\u914d\u5bf9\u4f7f\u7528\uff0c\u53ea\u4e0d\u8fc7\u516c\u94a5\u53ef\u4ee5\u516c\u5e03\u51fa\u53bb\uff0c\u800c\u79c1\u94a5\u662f\u6301\u6709\u8005\u81ea\u5df1\u4fdd\u7559\u7684\u3002<\/p>\n

\u4e00\u822c\u7684\u7528\u6cd5\u662f\u79c1\u94a5\u52a0\u5bc6\u7528\u4e8e\u7b7e\u540d\u9632\u6570\u636e\u88ab\u7be1\u6539\uff0c\u516c\u94a5\u52a0\u5bc6\u7528\u4e8e\u52a0\u5bc6\u9632\u654f\u611f\u4fe1\u606f\uff0c\u9632\u6b62\u6cc4\u9732\u3002<\/p>\n

    \u79c1\u94a5\u52a0\u5bc6\u516c\u94a5\u89e3\u5bc6\uff0c\u80fd\u8bc1\u660e\u201c\u79c1\u94a5\u62e5\u6709\u8005\u201d \u7684\u552f\u4e00\u8eab\u4efd\uff0c\u7528\u4e8e\u7b7e\u540d\u3002<\/ol>\n
      \u516c\u94a5\u52a0\u5bc6\u79c1\u94a5\u89e3\u5bc6\uff0c\u786e\u4fdd\u53d1\u9001\u7684\u4fe1\u606f\uff0c\u53ea\u6709\"\u79c1\u94a5\u62e5\u6709\u8005\"\u80fd\u591f\u89e3\u5bc6\u3002<\/ol>\n

      \u8fd9\u5757\u5148\u5356\u4e2a\u5173\u5b50\uff0c\u7406\u89e3\u4e0d\u4e86\u7684\u8bdd\u540e\u9762\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u5f00\u653e\u5e73\u53f0API\u9a8c\u7b7e\u548c\u52a0\u5bc6\u6d41\u7a0b\u7684\u65f6\u5019\u518d\u7ed9\u5927\u5bb6\u7ec6\u8bb2\u3002<\/p>\n

      RSA \u7b97\u6cd5\u9700\u8981\u7684\u8ba1\u7b97\u91cf\u6bd4 AES \u9ad8\uff0c\u4f46\u901f\u5ea6\u8981\u6162\u5f97\u591a\u3002\u5b83\u6bd4\u8f83\u9002\u5408\u7528\u4e8e\u52a0\u5bc6\u5c11\u91cf\u6570\u636e\u3002<\/p>\n

      RSA\u548cAES\u7ed3\u5408\u4f7f\u7528<\/strong><\/div>\n

      AES \u7b97\u6cd5\u7684\u4e00\u4e2a\u4e3b\u8981\u95ee\u9898\u662f\uff0c\u4f5c\u4e3a\u4e00\u79cd\u5bf9\u79f0\u7b97\u6cd5\uff0c\u5b83\u8981\u6c42\u52a0\u5bc6\u65b9\u548c\u89e3\u5bc6\u65b9\u4f7f\u7528\u76f8\u540c\u7684\u5bc6\u94a5\u3002\u8fd9\u5c31\u4ea7\u751f\u4e86\u4e00\u4e2a\u5173\u952e\u7684\u5bc6\u94a5\u7ba1\u7406\u95ee\u9898\u2014\u2014\u5982\u4f55\u5c06\u975e\u5e38\u91cd\u8981\u7684\u5bc6\u94a5\u5206\u53d1\u7ed9\u5206\u5e03\u5728\u4e16\u754c\u5404\u5730\u7684\u6388\u6743\u63a5\u6536\u8005\uff0c\u800c\u4e0d\u4f1a\u5192\u5728\u4f20\u8f93\u9014\u4e2d\u67d0\u4e2a\u5730\u65b9\u8003\u8651\u4e0d\u5468\u5bfc\u81f4\u5bc6\u94a5\u6cc4\u9732\u7684\u5de8\u5927\u98ce\u9669?\u7b54\u6848\u662f\u7ed3\u5408 AES \u548c RSA \u52a0\u5bc6\u7684\u4f18\u52bf\u3002<\/p>\n

      \u5728\u5305\u62ec\u4e92\u8054\u7f51\u5728\u5185\u7684\u8bb8\u591a\u73b0\u4ee3\u901a\u4fe1\u73af\u5883\u4e2d\uff0c\u5927\u91cf\u4ea4\u6362\u7684\u6570\u636e\u90fd\u901a\u8fc7\u5feb\u901f AES \u7b97\u6cd5\u8fdb\u884c\u52a0\u5bc6\u3002\u4e3a\u4e86\u83b7\u5f97\u89e3\u5bc6\u6570\u636e\u6240\u9700\u7684\u5bc6\u94a5\uff0c\u6388\u6743\u63a5\u6536\u8005\u53d1\u5e03\u4e00\u4e2a\u516c\u94a5\uff0c\u540c\u65f6\u4fdd\u7559\u4e00\u4e2a\u53ea\u6709\u4ed6\u4eec\u77e5\u9053\u7684\u76f8\u5173\u79c1\u94a5\u3002\u7136\u540e\uff0c\u53d1\u9001\u65b9\u4f7f\u7528\u8be5\u516c\u94a5\u5bf9\u4ed6\u4eec\u81ea\u5df1\u7684 AES \u5bc6\u94a5\u8fdb\u884cRSA\u52a0\u5bc6\u4f20\u8f93\u7ed9\u63a5\u6536\u65b9\uff0c\u63a5\u6536\u65b9\u4f7f\u7528\u79c1\u94a5\u89e3\u5bc6\u5f97\u5230AES\u5bc6\u94a5\uff0c\u518d\u7528\u8be5\u5bc6\u94a5\u5bf9\u6570\u636e\u8fdb\u884c\u89e3\u5bc6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

      \u4fe1\u606f\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u4e00\u76f4\u90fd\u662f\u4e2a\u5f88\u91cd\u8981\u7684\u8bdd\u9898\uff0c\u4ece\u521a\u5f00\u59cb\u5f53\u7a0b\u5e8f\u5458\u65f6\u9519\u4ee5\u4e3aMD5\u3001SHA1\u8fd9\u4e9b\u54c8\u5e0c\u7b97\u6cd5\u5c31\u662f\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5230 […]<\/p>\n","protected":false},"author":1329,"featured_media":231648,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-231646","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/231646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1329"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=231646"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/231646\/revisions"}],"predecessor-version":[{"id":231696,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/231646\/revisions\/231696"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/231648"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=231646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=231646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=231646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}