{"id":3228,"date":"2023-11-02T17:20:27","date_gmt":"2023-11-02T09:20:27","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=3228"},"modified":"2023-11-02T17:20:27","modified_gmt":"2023-11-02T09:20:27","slug":"springboot-%e5%bf%ab%e9%80%9f%e5%ae%9e%e7%8e%b0-api-%e5%8a%a0%e5%af%86%ef%bc%8c%e4%b8%80%e4%b8%aa%e8%bd%ae%e5%ad%90%e6%90%9e%e5%ae%9a%ef%bc%81","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/spring-boot\/springboot-%e5%bf%ab%e9%80%9f%e5%ae%9e%e7%8e%b0-api-%e5%8a%a0%e5%af%86%ef%bc%8c%e4%b8%80%e4%b8%aa%e8%bd%ae%e5%ad%90%e6%90%9e%e5%ae%9a%ef%bc%81\/","title":{"rendered":"SpringBoot \u5feb\u901f\u5b9e\u73b0 api \u52a0\u5bc6\uff0c\u4e00\u4e2a\u8f6e\u5b50\u641e\u5b9a\uff01"},"content":{"rendered":"<div class='wxsyncmain'>\n<section class=\"mp_profile_iframe_wrp\" style=\"margin-bottom: 0px;\"><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-id=\"MzIzMzgxOTQ5NA==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/R5ic1icyNBNd5jvclGgwOZI5CIazqQm21GGq2VvGjrjTbbRiaic3TlrI3BX4Snpz6ibmO1ukibWDsVqj1bBN8cV54h3w\/0?wx_fmt=png\" data-nickname=\"Java\u9762\u8bd5\u90a3\u4e9b\u4e8b\u513f\" data-alias=\"javatiku\" data-signature=\"\u56de\u590d java \uff0c\u9886\u53d6Java\u9762\u8bd5\u9898\u3002\u5206\u4eabJava\u6559\u7a0b\uff0cJava\u9762\u8bd5\u8f85\u5bfc\uff0cJava\u7f16\u7a0b\u89c6\u9891\uff0cJava\u4e0b\u8f7d\uff0cJava\u6280\u672f\u6808\uff0cJava\u9762\u8bd5\u9898\u7b54\u6848\uff0cJava\u5f00\u6e90\u9879\u76ee\uff0cJava\u7b80\u5386\u6a21\u677f\uff0cJava\u62db\u8058\uff0cJava\u5b9e\u6218\uff0cJava\u9762\u8bd5\u7ecf\u9a8c\uff0cIDEA\u6559\u7a0b\u7b49\u3002\" data-from=\"0\" data-is_biz_ban=\"0\"><\/mp-common-profile><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 10px;font-family: arial, helvetica, sans-serif;letter-spacing: 0.578px;text-align: left;text-wrap: wrap;color: rgb(136, 136, 136);\">\u6765\u6e90\uff5c\u7f51\u7edc<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u5728\u9879\u76ee\u4e2d\uff0c\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u7684\u5b89\u5168\uff0c\u6211\u4eec\u5e38\u5e38\u4f1a\u5bf9\u4f20\u9012\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002\u5e38\u7528\u7684\u52a0\u5bc6\u7b97\u6cd5\u5305\u62ec\u5bf9\u79f0\u52a0\u5bc6\uff08AES\uff09\u548c\u975e\u5bf9\u79f0\u52a0\u5bc6\uff08RSA\uff09\uff0c\u535a\u4e3b\u9009\u53d6\u7801\u4e91\u4e0a\u6700\u7b80\u5355\u7684API\u52a0\u5bc6\u9879\u76ee\u8fdb\u884c\u4e0b\u9762\u7684\u8bb2\u89e3\u3002<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u4e0b\u9762\u8bf7\u51fa\u6211\u4eec\u7684\u6700\u4eae\u7684\u9879\u76ee<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u275d<\/span><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;text-align: justify;\">https:\/\/gitee.com\/isuperag\/rsa-encrypt-body-spring-boot<\/span><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;text-align: justify;\">\u275e<\/span><\/section>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><\/h3>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"># \u9879\u76ee\u4ecb\u7ecd<\/span><\/strong><\/h3>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u8be5\u9879\u76ee\u4f7f\u7528RSA\u52a0\u5bc6\u65b9\u5f0f\u5bf9API\u63a5\u53e3\u8fd4\u56de\u7684\u6570\u636e\u52a0\u5bc6\uff0c\u8ba9API\u6570\u636e\u66f4\u52a0\u5b89\u5168\u3002\u522b\u4eba\u65e0\u6cd5\u5bf9\u63d0\u4f9b\u7684\u6570\u636e\u8fdb\u884c\u7834\u89e3\u3002Spring Boot\u63a5\u53e3\u52a0\u5bc6\uff0c\u53ef\u4ee5\u5bf9\u8fd4\u56de\u503c\u3001\u53c2\u6570\u503c\u901a\u8fc7\u6ce8\u89e3\u7684\u65b9\u5f0f\u81ea\u52a8\u52a0\u89e3\u5bc6 \u3002<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"># \u4ec0\u4e48\u662fRSA\u52a0\u5bc6<\/span><\/strong><\/h3>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u9996\u5148\u6211\u4eec\u5f53\u7136\u662f\u4e86\u89e3RSA\u52a0\u5bc6<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">RSA\u52a0\u5bc6\u662f\u4e00\u79cd\u975e\u5bf9\u79f0\u52a0\u5bc6\u3002\u53ef\u4ee5\u5728\u4e0d\u76f4\u63a5\u4f20\u9012\u5bc6\u94a5\u7684\u60c5\u51b5\u4e0b\uff0c\u5b8c\u6210\u89e3\u5bc6\u3002\u8fd9\u80fd\u591f\u786e\u4fdd\u4fe1\u606f\u7684\u5b89\u5168\u6027\uff0c\u907f\u514d\u4e86\u76f4\u63a5\u4f20\u9012\u5bc6\u94a5\u6240\u9020\u6210\u7684\u88ab\u7834\u89e3\u7684\u98ce\u9669\u3002\u662f\u7531\u4e00\u5bf9\u5bc6\u94a5\u6765\u8fdb\u884c\u52a0\u89e3\u5bc6\u7684\u8fc7\u7a0b\uff0c\u5206\u522b\u79f0\u4e3a\u516c\u94a5\u548c\u79c1\u94a5\u3002\u4e24\u8005\u4e4b\u95f4\u6709\u6570\u5b66\u76f8\u5173\uff0c\u8be5\u52a0\u5bc6\u7b97\u6cd5\u7684\u539f\u7406\u5c31\u662f\u5bf9\u4e00\u6781\u5927\u6574\u6570\u505a\u56e0\u6570\u5206\u89e3\u7684\u56f0\u96be\u6027\u6765\u4fdd\u8bc1\u5b89\u5168\u6027\u3002\u901a\u5e38\u4e2a\u4eba\u4fdd\u5b58\u79c1\u94a5\uff0c\u516c\u94a5\u662f\u516c\u5f00\u7684\uff08\u53ef\u80fd\u540c\u65f6\u591a\u4eba\u6301\u6709\uff09\u3002<\/span><\/section>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.5389294403892944\" data-type=\"png\" data-w=\"822\"  style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165321839.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.5389294403892944\" data-type=\"png\" data-w=\"822\"  style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165321839.png\"  \/><\/noscript><\/figure>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;letter-spacing: 0.544px;color: rgb(34, 34, 34);font-size: 16px;text-align: left;word-spacing: 2px;caret-color: rgb(34, 34, 34);background-color: rgb(255, 255, 255);visibility: visible;\"><p line=\"bCtO\" linespacing=\"115\" style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;text-align: center;\"><span style=\"outline: 0px;font-family: arial, helvetica, sans-serif;\"><\/span><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzIzMzgxOTQ5NA==&amp;mid=2247594137&amp;idx=1&amp;sn=0d08b48386b8fec8afaebc16771fb68b&amp;chksm=e8fcec90df8b6586d1ca11b28ab626a0a3821f88613d86b5a74d2c02d7866e731d3ecd4e889f&amp;scene=21#wechat_redirect\" textvalue=\"\u4e13\u5c5e\u798f\u5229\ud83d\udc49\u70b9\u51fb\u9886\u53d6\uff1aJava\u8d44\u6599\u5408\u96c6\uff01650G\uff01\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;letter-spacing: 0.544px;font-family: arial, helvetica, sans-serif;visibility: visible;font-size: 18px;\" rel=\"noopener\" rel=\"nofollow\" ><span style=\"outline: 0px;visibility: visible;\"><strong style=\"outline: 0px;visibility: visible;\"><span style=\"outline: 0px;color: rgb(61, 167, 66);visibility: visible;\">\u4e13\u5c5e\u798f\u5229<\/span><\/strong><\/span><\/a><\/p><pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;letter-spacing: 0.544px;visibility: visible;\"><p style=\"outline: 0px;letter-spacing: 0.544px;text-wrap: wrap;text-align: center;visibility: visible;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzIzMzgxOTQ5NA==&amp;mid=2247594137&amp;idx=1&amp;sn=0d08b48386b8fec8afaebc16771fb68b&amp;chksm=e8fcec90df8b6586d1ca11b28ab626a0a3821f88613d86b5a74d2c02d7866e731d3ecd4e889f&amp;scene=21#wechat_redirect\" textvalue=\"\u4e13\u5c5e\u798f\u5229\ud83d\udc49\u70b9\u51fb\u9886\u53d6\uff1aJava\u8d44\u6599\u5408\u96c6\uff01650G\uff01\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;font-family: arial, helvetica, sans-serif;visibility: visible;font-size: 18px;\" rel=\"noopener\" rel=\"nofollow\" ><span style=\"outline: 0px;visibility: visible;\"><strong style=\"outline: 0px;visibility: visible;\"><span style=\"outline: 0px;background-color: rgb(122, 79, 214);color: rgb(255, 255, 255);visibility: visible;\">\ud83d\udc49\u70b9\u51fb\u9886\u53d6\uff1aJava\u8d44\u6599\u5408\u96c6\uff01650G\uff01<\/span><\/strong><\/span><\/a><\/p><p style=\"outline: 0px;letter-spacing: 0.544px;text-wrap: wrap;text-align: center;visibility: visible;\"><\/p><\/pre>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;background-color: rgb(255, 218, 169);\">\u4e3e\u4f8b\u5b50\u5927\u6cd5<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u52a0\u5bc6\u548c\u7b7e\u540d\u90fd\u662f\u4e3a\u4e86\u5b89\u5168\u6027\u8003\u8651\uff0c\u4f46\u7565\u6709\u4e0d\u540c\u3002\u5e38\u6709\u4eba\u95ee\u52a0\u5bc6\u548c\u7b7e\u540d\u662f\u7528\u79c1\u94a5\u8fd8\u662f\u516c\u94a5\uff1f\u5176\u5b9e\u90fd\u662f\u5bf9\u52a0\u5bc6\u548c\u7b7e\u540d\u7684\u4f5c\u7528\u6709\u6240\u6df7\u6dc6\u3002\u7b80\u5355\u7684\u8bf4\uff0c\u52a0\u5bc6\u662f\u4e3a\u4e86\u9632\u6b62\u4fe1\u606f\u88ab\u6cc4\u9732\uff0c\u800c\u7b7e\u540d\u662f\u4e3a\u4e86\u9632\u6b62\u4fe1\u606f\u88ab\u7be1\u6539\u3002\u8fd9\u91cc\u4e3e2\u4e2a\u4f8b\u5b50\u8bf4\u660e\u3002<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u300c\u7b2c\u4e00\u4e2a\u573a\u666f\uff1a\u300d\u6218\u573a\u4e0a\uff0cB\u8981\u7ed9A\u4f20\u9012\u4e00\u6761\u6d88\u606f\uff0c\u5185\u5bb9\u4e3a\u67d0\u4e00\u6307\u4ee4\u3002<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">RSA\u7684\u52a0\u5bc6\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"list-style-type: circle;\">\n<li style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\n<section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">A\u751f\u6210\u4e00\u5bf9\u5bc6\u94a5\uff08\u516c\u94a5\u548c\u79c1\u94a5\uff09\uff0c\u79c1\u94a5\u4e0d\u516c\u5f00\uff0cA\u81ea\u5df1\u4fdd\u7559\u3002\u516c\u94a5\u4e3a\u516c\u5f00\u7684\uff0c\u4efb\u4f55\u4eba\u53ef\u4ee5\u83b7\u53d6\u3002<\/span><\/section>\n<\/section>\n<\/li>\n<li style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\n<section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">A\u4f20\u9012\u81ea\u5df1\u7684\u516c\u94a5\u7ed9B\uff0cB\u7528A\u7684\u516c\u94a5\u5bf9\u6d88\u606f\u8fdb\u884c\u52a0\u5bc6\u3002<\/span><\/section>\n<\/section>\n<\/li>\n<li style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\n<section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">A\u63a5\u6536\u5230B\u52a0\u5bc6\u7684\u6d88\u606f\uff0c\u5229\u7528A\u81ea\u5df1\u7684\u79c1\u94a5\u5bf9\u6d88\u606f\u8fdb\u884c\u89e3\u5bc6\u3002<\/span><\/section>\n<\/section>\n<\/li>\n<\/ul>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u53ea\u67092\u6b21\u4f20\u9012\u8fc7\u7a0b\uff0c\u7b2c\u4e00\u6b21\u662fA\u4f20\u9012\u516c\u94a5\u7ed9B\uff0c\u7b2c\u4e8c\u6b21\u662fB\u4f20\u9012\u52a0\u5bc6\u6d88\u606f\u7ed9A\uff0c\u5373\u4f7f\u90fd\u88ab\u654c\u65b9\u622a\u83b7\uff0c\u4e5f\u6ca1\u6709\u5371\u9669\u6027\uff0c\u56e0\u4e3a\u53ea\u6709A\u7684\u79c1\u94a5\u624d\u80fd\u5bf9\u6d88\u606f\u8fdb\u884c\u89e3\u5bc6\uff0c\u9632\u6b62\u4e86\u6d88\u606f\u5185\u5bb9\u7684\u6cc4\u9732\u3002<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u300c\u7b2c\u4e8c\u4e2a\u573a\u666f\uff1a\u300dA\u6536\u5230B\u53d1\u7684\u6d88\u606f\u540e\uff0c\u9700\u8981\u8fdb\u884c\u56de\u590d\u201c\u6536\u5230\u201d\u3002<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">RSA\u7b7e\u540d\u7684\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"list-style-type: circle;\">\n<li style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\n<section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">A\u751f\u6210\u4e00\u5bf9\u5bc6\u94a5\uff08\u516c\u94a5\u548c\u79c1\u94a5\uff09\uff0c\u79c1\u94a5\u4e0d\u516c\u5f00\uff0cA\u81ea\u5df1\u4fdd\u7559\u3002\u516c\u94a5\u4e3a\u516c\u5f00\u7684\uff0c\u4efb\u4f55\u4eba\u53ef\u4ee5\u83b7\u53d6\u3002<\/span><\/section>\n<\/section>\n<\/li>\n<li style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\n<section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">A\u7528\u81ea\u5df1\u7684\u79c1\u94a5\u5bf9\u6d88\u606f\u52a0\u7b7e\uff0c\u5f62\u6210\u7b7e\u540d\uff0c\u5e76\u5c06\u52a0\u7b7e\u7684\u6d88\u606f\u548c\u6d88\u606f\u672c\u8eab\u4e00\u8d77\u4f20\u9012\u7ed9B\u3002<\/span><\/section>\n<\/section>\n<\/li>\n<li style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\n<section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">B\u6536\u5230\u6d88\u606f\u540e\uff0c\u5728\u83b7\u53d6A\u7684\u516c\u94a5\u8fdb\u884c\u9a8c\u7b7e\uff0c\u5982\u679c\u9a8c\u7b7e\u51fa\u6765\u7684\u5185\u5bb9\u4e0e\u6d88\u606f\u672c\u8eab\u4e00\u81f4\uff0c\u8bc1\u660e\u6d88\u606f\u662fA\u56de\u590d\u7684\u3002<\/span><\/section>\n<\/section>\n<\/li>\n<\/ul>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u53ea\u67092\u6b21\u4f20\u9012\u8fc7\u7a0b\uff0c\u7b2c\u4e00\u6b21\u662fA\u4f20\u9012\u52a0\u7b7e\u7684\u6d88\u606f\u548c\u6d88\u606f\u672c\u8eab\u7ed9B\uff0c\u7b2c\u4e8c\u6b21\u662fB\u83b7\u53d6A\u7684\u516c\u94a5\uff0c\u5373\u4f7f\u90fd\u88ab\u654c\u65b9\u622a\u83b7\uff0c\u4e5f\u6ca1\u6709\u5371\u9669\u6027\uff0c\u56e0\u4e3a\u53ea\u6709A\u7684\u79c1\u94a5\u624d\u80fd\u5bf9\u6d88\u606f\u8fdb\u884c\u7b7e\u540d\uff0c\u5373\u4f7f\u77e5\u9053\u4e86\u6d88\u606f\u5185\u5bb9\uff0c\u4e5f\u65e0\u6cd5\u4f2a\u9020\u5e26\u7b7e\u540d\u7684\u56de\u590d\u7ed9B\uff0c\u9632\u6b62\u4e86\u6d88\u606f\u5185\u5bb9\u7684\u7be1\u6539\u3002<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u4f46\u662f\uff0c\u7efc\u5408\u4e24\u4e2a\u573a\u666f\u4f60\u4f1a\u53d1\u73b0\uff0c\u7b2c\u4e00\u4e2a\u573a\u666f\u867d\u7136\u88ab\u622a\u83b7\u7684\u6d88\u606f\u6ca1\u6709\u6cc4\u9732\uff0c\u4f46\u662f\u53ef\u4ee5\u5229\u7528\u622a\u83b7\u7684\u516c\u94a5\uff0c\u5c06\u5047\u6307\u4ee4\u8fdb\u884c\u52a0\u5bc6\uff0c\u7136\u540e\u4f20\u9012\u7ed9A\u3002\u7b2c\u4e8c\u4e2a\u573a\u666f\u867d\u7136\u622a\u83b7\u7684\u6d88\u606f\u4e0d\u80fd\u88ab\u7be1\u6539\uff0c\u4f46\u662f\u6d88\u606f\u7684\u5185\u5bb9\u53ef\u4ee5\u5229\u7528\u516c\u94a5\u9a8c\u7b7e\u6765\u83b7\u5f97\uff0c\u5e76\u4e0d\u80fd\u9632\u6b62\u6cc4\u9732\u3002\u6240\u4ee5\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8981\u6839\u636e\u60c5\u51b5\u4f7f\u7528\uff0c\u4e5f\u53ef\u4ee5\u540c\u65f6\u4f7f\u7528\u52a0\u5bc6\u548c\u7b7e\u540d\uff0c\u6bd4\u5982A\u548cB\u90fd\u6709\u4e00\u5957\u81ea\u5df1\u7684\u516c\u94a5\u548c\u79c1\u94a5\uff0c\u5f53A\u8981\u7ed9B\u53d1\u9001\u6d88\u606f\u65f6\uff0c\u5148\u7528B\u7684\u516c\u94a5\u5bf9\u6d88\u606f\u52a0\u5bc6\uff0c\u518d\u5bf9\u52a0\u5bc6\u7684\u6d88\u606f\u4f7f\u7528A\u7684\u79c1\u94a5\u52a0\u7b7e\u540d\uff0c\u8fbe\u5230\u65e2\u4e0d\u6cc4\u9732\u4e5f\u4e0d\u88ab\u7be1\u6539\uff0c\u66f4\u80fd\u4fdd\u8bc1\u6d88\u606f\u7684\u5b89\u5168\u6027\u3002<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"># \u52a0\u5bc6\u5b9e\u6218<\/span><\/strong><\/h3>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u535a\u4e3b\u4f60\u54d4\u54e9\u54d4\u54e9\u8fd9\u4e48\u591a\uff0c\u6211\u5df2\u7ecf\u77e5\u9053\u4e86RSA\u662f\u5e72\u4ec0\u4e48\u4e86\u3002\u4e0d\u5c31\u662f \u516c\u94a5\u52a0\u5bc6\u3001\u79c1\u94a5\u89e3\u5bc6\u3001\u79c1\u94a5\u7b7e\u540d\u3001\u516c\u94a5\u9a8c\u7b7e<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;background-color: rgb(255, 218, 169);\">\u5b9e\u6218\u51c6\u5907<\/span><\/h4>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">1\u3001\u65b0\u5efa\u4e00\u4e2aspringboot\u9879\u76ee<\/span><\/strong><\/h5>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">springboot_api_encryption<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">2\u3001\u5f15\u5165maven\u4f9d\u6765<\/span><\/strong><\/h5>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"xml\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">dependency<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">groupId<\/span>&gt;<\/span>cn.shuibo<span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">groupId<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">artifactId<\/span>&gt;<\/span>rsa-encrypt-body-spring-boot<span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">artifactId<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">version<\/span>&gt;<\/span>1.0.1.RELEASE<span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">version<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">dependency<\/span>&gt;<\/span><\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/strong><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">3\u3001\u542f\u52a8\u7c7bApplication\u4e2d\u6dfb\u52a0@EnableSecurity\u6ce8\u89e3<\/span><\/strong><\/h5>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"java\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@SpringBootApplication<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@EnableSecurity<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">public<\/span> <span class=\"code-snippet__class\"><span class=\"code-snippet__keyword\">class<\/span> <span class=\"code-snippet__title\">DemoApplication<\/span> <\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">public<\/span> <span class=\"code-snippet__keyword\">static<\/span> <span class=\"code-snippet__keyword\">void<\/span> <span class=\"code-snippet__title\">main<\/span><span class=\"code-snippet__params\">(String[] args)<\/span> <\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\">        SpringApplication.run(DemoApplication.class, args);<\/span><\/code><code><span class=\"code-snippet_outer\">    }<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/strong><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">4\u3001\u5728application.yml\u6216\u8005application.properties\u4e2d\u6dfb\u52a0RSA\u516c\u94a5\u53ca\u79c1\u94a5<\/span><\/strong><\/h5>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u516c\u94a5\u79c1\u94a5\u7684\u751f\u6210\u6587\u7ae0\u540e\u9762\u4f1a\u653e\u51fa\u751f\u6210\u5de5\u5177<\/span><\/section>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"cpp\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\">rsa:<\/span><\/code><code><span class=\"code-snippet_outer\">  encrypt:<\/span><\/code><code><span class=\"code-snippet_outer\">    open: <span class=\"code-snippet__literal\">false<\/span> # \u662f\u5426\u5f00\u542f\u52a0\u5bc6 <span class=\"code-snippet__literal\">true<\/span>  <span class=\"code-snippet__keyword\">or<\/span>  <span class=\"code-snippet__literal\">false<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    showLog: <span class=\"code-snippet__literal\">true<\/span> # \u662f\u5426\u6253\u5370\u52a0\u89e3\u5bc6<span class=\"code-snippet__built_in\">log<\/span> <span class=\"code-snippet__literal\">true<\/span>  <span class=\"code-snippet__keyword\">or<\/span>  <span class=\"code-snippet__literal\">false<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    publicKey: # RSA\u516c\u94a5 \u8f6f\u4ef6\u751f\u6210<\/span><\/code><code><span class=\"code-snippet_outer\">    privateKey: # RSA\u79c1\u94a5 \u8f6f\u4ef6\u751f\u6210<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/strong><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">5\u3001\u5bf9Controller \u91cc\u9762\u7684API\u65b9\u6cd5\u8fdb\u884c\u52a0\u5bc6<\/span><\/strong><\/h5>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"java\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@Encrypt<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@GetMapping<\/span>(<span class=\"code-snippet__string\">\"\/encryption\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">public<\/span> TestBean <span class=\"code-snippet__title\">encryption<\/span><span class=\"code-snippet__params\">()<\/span><\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\">    TestBean testBean = <span class=\"code-snippet__keyword\">new<\/span> TestBean();<\/span><\/code><code><span class=\"code-snippet_outer\">    testBean.setName(<span class=\"code-snippet__string\">\"shuibo.cn\"<\/span>);<\/span><\/code><code><span class=\"code-snippet_outer\">    testBean.setAge(<span class=\"code-snippet__number\">18<\/span>);<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__keyword\">return<\/span> testBean;<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/strong><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">6\u3001\u5bf9\u4f20\u8fc7\u6765\u7684\u52a0\u5bc6\u53c2\u6570\u89e3\u5bc6<\/span><\/strong><\/h5>\n<section style=\"text-align: left;margin-bottom: 0px;\"><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u5176\u4ed6java\u7aef\u7a0b\u5e8f\u53ef\u4ee5\u7528\u6ce8\u89e3\uff0c\u5982\u679c\u662fvue\uff0c\u8bf7\u7528RSA\u5bc6\u94a5\u89e3\u5bc6<\/span><\/section>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"kotlin\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@Decrypt<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@PostMapping(<span class=\"code-snippet__meta-string\">\"\/decryption\"<\/span>)<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">public<\/span> String Decryption(<span class=\"code-snippet__meta\">@RequestBody<\/span> TestBean testBean){<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__keyword\">return<\/span> testBean.toString();<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;background-color: rgb(255, 218, 169);\">\u771f\u5200\u771f\u67aa<\/span><\/h4>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">1\u3001\u5f15\u5165maven<\/span><\/h5>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.4166666666666667\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165323327.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.4166666666666667\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165323327.png\"  \/><\/noscript><\/figure>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">2\u3001\u542f\u52a8\u7c7b\u6dfb\u52a0\u6ce8\u89e3<\/span><\/h5>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.4074074074074074\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165327154.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.4074074074074074\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165327154.png\"  \/><\/noscript><\/figure>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">3\u3001YML\u6dfb\u52a0\u914d\u7f6e\u5bc6\u94a5<\/span><\/h5>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" data-ratio=\"0.3388888888888889\" data-type=\"png\" data-w=\"1080\"  class=\"rich_pages wxw-img lazyload\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165330491.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-ratio=\"0.3388888888888889\" data-type=\"png\" data-w=\"1080\"  class=\"rich_pages wxw-img\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165330491.png\"  \/><\/noscript><\/figure>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">4\u3001\u521b\u5efa\u4e00\u4e2a\u5b9e\u4f53\u7c7b<\/span><\/h5>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" data-ratio=\"0.39537037037037037\" data-type=\"png\" data-w=\"1080\"  class=\"rich_pages wxw-img lazyload\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165334409.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-ratio=\"0.39537037037037037\" data-type=\"png\" data-w=\"1080\"  class=\"rich_pages wxw-img\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165334409.png\"  \/><\/noscript><\/figure>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">5\u3001\u5199\u4e00\u4e2a\u5bf9\u5916API\u63a5\u53e3<\/span><\/h5>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.41759259259259257\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165337451.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.41759259259259257\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165337451.png\"  \/><\/noscript><\/figure>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">6\u3001\u542f\u52a8\u9879\u76ee<\/span><\/h5>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u275d<\/span><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;text-align: justify;\">\u8bf7\u6c42\u5730\u5740: http:\/\/localhost:8080\/encryption<\/span><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;text-align: justify;\">\u275e<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u6211\u4eec\u770b\u5230\u8fd4\u56de\u7684\u6570\u636e\u672a\u52a0\u5bc6<\/span><\/section>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.2462962962962963\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165341874.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.2462962962962963\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165341874.png\"  \/><\/noscript><\/figure>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">7\u3001\u4fee\u6539<\/span><\/h5>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u4fee\u6539open\u4e3atrue \u6253\u5f00\u52a0\u5bc6<\/span><\/section>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"cpp\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\">rsa:<\/span><\/code><code><span class=\"code-snippet_outer\">  encrypt:<\/span><\/code><code><span class=\"code-snippet_outer\">    open: <span class=\"code-snippet__literal\">true<\/span> # \u662f\u5426\u5f00\u542f\u52a0\u5bc6 <span class=\"code-snippet__literal\">true<\/span>  <span class=\"code-snippet__keyword\">or<\/span>  <span class=\"code-snippet__literal\">false<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    showLog: <span class=\"code-snippet__literal\">true<\/span> # \u662f\u5426\u6253\u5370\u52a0\u89e3\u5bc6<span class=\"code-snippet__built_in\">log<\/span> <span class=\"code-snippet__literal\">true<\/span>  <span class=\"code-snippet__keyword\">or<\/span>  <span class=\"code-snippet__literal\">false<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    publicKey: # RSA\u516c\u94a5 \u8f6f\u4ef6\u751f\u6210<\/span><\/code><code><span class=\"code-snippet_outer\">    privateKey: # RSA\u79c1\u94a5 \u8f6f\u4ef6\u751f\u6210<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">8\u3001\u518d\u6b21\u91cd\u542f\u9879\u76ee<\/span><\/h5>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u275d<\/span><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;text-align: justify;\">\u8bf7\u6c42\u5730\u5740: http:\/\/localhost:8080\/encryption<\/span><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;text-align: justify;\">\u275e<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u6211\u4eec\u770b\u5230\u8fd4\u56de\u7684\u6570\u636e\u5df2\u52a0\u5bc6<\/span><\/section>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.21944444444444444\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165343833.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.21944444444444444\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165343833.png\"  \/><\/noscript><\/figure>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">9\u3001\u52a0\u5bc6\u65e5\u5fd7<\/span><\/h5>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" data-ratio=\"0.21296296296296297\" data-type=\"png\" data-w=\"1080\"  class=\"rich_pages wxw-img lazyload\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165346859.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-ratio=\"0.21296296296296297\" data-type=\"png\" data-w=\"1080\"  class=\"rich_pages wxw-img\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165346859.png\"  \/><\/noscript><\/figure>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><\/h3>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"># \u89e3\u5bc6\u5b9e\u6218<\/span><\/strong><\/h3>\n<section style=\"text-align: left;margin-bottom: 0px;\"><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u5982\u679c\u662f\u5176\u4ed6springboot\u9879\u76ee\uff0c\u8ddf\u524d\u9762\u4e00\u6837\u3002\u6211\u4eec\u8fd9\u513f\u5c31\u5f53\u5ba2\u6237\u7aef\u662fspringboot\u9879\u76ee\uff0c\u5176\u4ed6\u7684\u8bf7\u4f7f\u7528RSA\u89e3\u5bc6\u534f\u8bae\u89e3\u5bc6\uff01<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u670d\u52a1\u7aef\u6709\u79c1\u5bc6\u94a5\u3001\u516c\u5bc6\u94a5<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u524d\u7aef\u53ea\u9700\u8981\u516c\u5bc6\u94a5\u5c31\u53ef\u4ee5<\/span><\/section>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><\/h4>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;background-color: rgb(255, 218, 169);\">\u5b9e\u6218\u51c6\u5907<\/span><\/h4>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u5728\u539f\u6765\u7684springboot\u57fa\u7840\u4e0a\u5199\u4e00\u4efd\u89e3\u5bc6\u65b9\u6cd5<\/span><\/section>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">1\u3001\u524d\u7aefjs\u89e3\u5bc6\u65b9\u6cd5<\/span><\/h5>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section><\/pre>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"xml\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">script<\/span> <span class=\"code-snippet__attr\">src<\/span>=<span class=\"code-snippet__string\">\"https:\/\/cdn.bootcdn.net\/ajax\/libs\/jquery\/3.5.1\/jquery.js\"<\/span>&gt;<\/span><span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">script<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">script<\/span><span class=\"code-snippet__attr\">src<\/span>=<span class=\"code-snippet__string\">\"https:\/\/cdn.bootcdn.net\/ajax\/libs\/jsencrypt\/3.0.0-rc.1\/jsencrypt.js\"<\/span>&gt;<\/span><span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">script<\/span>&gt;<\/span><\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;\">2\u3001\u540e\u53f0\u589e\u52a0\u89e3\u5bc6\u65b9\u6cd5<\/span><\/section>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"kotlin\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">\/**<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> * \u89e3\u5bc6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> * <span class=\"code-snippet__doctag\">@param<\/span> user<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> * <span class=\"code-snippet__doctag\">@return<\/span><\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> *\/<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@PostMapping(<span class=\"code-snippet__meta-string\">\"\/decryption\"<\/span>)<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@Decrypt<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@ResponseBody<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">public<\/span> String Decryption(<span class=\"code-snippet__meta\">@RequestBody<\/span> User user){<\/span><\/code><code><span class=\"code-snippet_outer\">    System.<span class=\"code-snippet__keyword\">out<\/span>.println(user.toString());<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__keyword\">return<\/span> user.toString();<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">3\u3001js\u65b9\u6cd5<\/span><\/h5>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"php\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u516c\u94a5<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__keyword\">var<\/span> PUBLIC_KEY = <span class=\"code-snippet__string\">'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAobhGH4WMwMvJRUlTxWrCVIOQtsHijAxPJNvAWAgq80ADpFEWrpbcGB9cKqp6XHRH4k\/CVtCUZ7jm9UKwhaeAm18sKtcwe+M8JFNX6FSHpgde0o8C9S\/QpcmLxf4iN7nGZ7P3ZTvMdmKUcdRMsVQnsydG2Bj6gRxP2+kexEebTeODbdM7dHlkxAL0RxGWmX\/ZOBzsoWZw2gKcC0vxwyIZBGHUdImG2T3nEA+VMfK2Yqv3uSYukmlKP+0mjfhrTtLFDuTV1VER9BfryBMvpQCxLO4pqgZnXPd+SOQcZHZ2OL0wqo5OX1+GPYx7TNxz5Qi76pK\/\/T2mH7s6X\/BuyT21HQIDAQAB'<\/span>;<\/span><\/code><code><span class=\"code-snippet_outer\"><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">\/**<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> * \u52a0\u5bc6\u65b9\u6cd5<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> * <span class=\"code-snippet__doctag\">@returns<\/span> {PromiseLike&lt;ArrayBuffer&gt;}<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> * <span class=\"code-snippet__doctag\">@constructor<\/span><\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> *\/<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">function<\/span> <span class=\"code-snippet__title\">RSA_encryption<\/span><span class=\"code-snippet__params\">(jsonData)<\/span> <\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__keyword\">var<\/span> encrypt = <span class=\"code-snippet__keyword\">new<\/span> JSEncrypt();<\/span><\/code><code><span class=\"code-snippet_outer\"> encrypt.setPublicKey(<span class=\"code-snippet__string\">'-----BEGIN PUBLIC KEY-----'<\/span> + PUBLIC_KEY + <span class=\"code-snippet__string\">'-----END PUBLIC KEY-----'<\/span>);<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__keyword\">var<\/span> encrypted = encrypt.encrypt(JSON.stringify(jsonData));<\/span><\/code><code><span class=\"code-snippet_outer\"> console.log(<span class=\"code-snippet__string\">'\u52a0\u5bc6\u524d\u6570\u636e:%o'<\/span>, str);<\/span><\/code><code><span class=\"code-snippet_outer\"> console.log(<span class=\"code-snippet__string\">'\u52a0\u5bc6\u540e\u6570\u636e:%o'<\/span>, encrypted);<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__keyword\">return<\/span> encrypted;<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><code><span class=\"code-snippet_outer\"><\/span><\/code><code><span class=\"code-snippet_outer\"><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">\/**<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> * \u63d0\u4ea4\u65b9\u6cd5<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"> *\/<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">function<\/span> <span class=\"code-snippet__title\">tijiao<\/span><span class=\"code-snippet__params\">()<\/span> <\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__keyword\">var<\/span> str = {<\/span><\/code><code><span class=\"code-snippet_outer\">  <span class=\"code-snippet__string\">\"name\"<\/span>:<span class=\"code-snippet__string\">\"1223334\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">  <span class=\"code-snippet__string\">\"password\"<\/span>:<span class=\"code-snippet__string\">\"asd\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">  age:<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"> };<\/span><\/code><code><span class=\"code-snippet_outer\">  $.ajax({<\/span><\/code><code><span class=\"code-snippet_outer\">   url: <span class=\"code-snippet__string\">\"\/decryption\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">   type : <span class=\"code-snippet__string\">\"POST\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">   contentType: <span class=\"code-snippet__string\">\"application\/json;charset=utf-8\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">   data : RSA_encryption(str) ,<\/span><\/code><code><span class=\"code-snippet_outer\">   success : <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">function<\/span><span class=\"code-snippet__params\">(data)<\/span> <\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\">    alert(data);<\/span><\/code><code><span class=\"code-snippet_outer\">   }<\/span><\/code><code><span class=\"code-snippet_outer\">  })<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;background-color: rgb(255, 218, 169);\"><\/span><\/h4>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;background-color: rgb(255, 218, 169);\">\u771f\u5200\u771f\u67aa<\/span><\/h4>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">1\u3001 Controller\u6dfb\u52a0\u89e3\u5bc6\u65b9\u6cd5\u63a5\u53e3<\/span><\/h5>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.47685185185185186\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165350686.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.47685185185185186\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165350686.png\"  \/><\/noscript><\/figure>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/h5>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">2\u3001\u524d\u7aef\u9875\u9762\u5f15\u5165js\u4ee5\u53ca\u65b9\u6cd5<\/span><\/h5>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"xml\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">&lt;!DOCTYPE html&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">html<\/span> <span class=\"code-snippet__attr\">lang<\/span>=<span class=\"code-snippet__string\">\"en\"<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">head<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">meta<\/span> <span class=\"code-snippet__attr\">charset<\/span>=<span class=\"code-snippet__string\">\"UTF-8\"<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">title<\/span>&gt;<\/span>Title<span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">title<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">head<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">body<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">\u52a0\u5bc6\u4f20\u540e\u7aef\uff0c\u540e\u7aef\u89e3\u5bc6<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">button<\/span> <span class=\"code-snippet__attr\">id<\/span>=<span class=\"code-snippet__string\">\"jiami\"<\/span> <span class=\"code-snippet__attr\">onclick<\/span>=<span class=\"code-snippet__string\">\"tijiao()\"<\/span>&gt;<\/span>\u52a0\u5bc6\u4f20\u540e\u7aef<span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">button<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">script<\/span> <span class=\"code-snippet__attr\">src<\/span>=<span class=\"code-snippet__string\">\"https:\/\/cdn.bootcdn.net\/ajax\/libs\/jquery\/3.5.1\/jquery.js\"<\/span>&gt;<\/span><span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">script<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">script<\/span> <span class=\"code-snippet__attr\">src<\/span>=<span class=\"code-snippet__string\">\"https:\/\/cdn.bootcdn.net\/ajax\/libs\/jsencrypt\/3.0.0-rc.1\/jsencrypt.js\"<\/span>&gt;<\/span><span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">script<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;<span class=\"code-snippet__name\">script<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__keyword\">var<\/span> PUBLIC_KEY = <span class=\"code-snippet__string\">'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAobhGH4WMwMvJRUlTxWrCVIOQtsHijAxPJNvAWAgq80ADpFEWrpbcGB9cKqp6XHRH4k\/CVtCUZ7jm9UKwhaeAm18sKtcwe+M8JFNX6FSHpgde0o8C9S\/QpcmLxf4iN7nGZ7P3ZTvMdmKUcdRMsVQnsydG2Bj6gRxP2+kexEebTeODbdM7dHlkxAL0RxGWmX\/ZOBzsoWZw2gKcC0vxwyIZBGHUdImG2T3nEA+VMfK2Yqv3uSYukmlKP+0mjfhrTtLFDuTV1VER9BfryBMvpQCxLO4pqgZnXPd+SOQcZHZ2OL0wqo5OX1+GPYx7TNxz5Qi76pK\/\/T2mH7s6X\/BuyT21HQIDAQAB'<\/span>;<\/span><\/code><code><span class=\"code-snippet_outer\"><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__comment\">\/**<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">     * \u52a0\u5bc6\u65b9\u6cd5<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">     * @returns {PromiseLike&lt;ArrayBuffer&gt;}<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">     * @constructor<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">     *\/<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">function<\/span> <span class=\"code-snippet__title\">RSA_encryption<\/span>(<span class=\"code-snippet__params\">jsonData<\/span>) <\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__keyword\">var<\/span> encrypt = <span class=\"code-snippet__keyword\">new<\/span> JSEncrypt();<\/span><\/code><code><span class=\"code-snippet_outer\">        encrypt.setPublicKey(<span class=\"code-snippet__string\">'-----BEGIN PUBLIC KEY-----'<\/span> + PUBLIC_KEY + <span class=\"code-snippet__string\">'-----END PUBLIC KEY-----'<\/span>);<\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__keyword\">var<\/span> encrypted = encrypt.encrypt(<span class=\"code-snippet__built_in\">JSON<\/span>.stringify(jsonData));<\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__built_in\">console<\/span>.log(<span class=\"code-snippet__string\">'\u52a0\u5bc6\u524d\u6570\u636e:%o'<\/span>, jsonData);<\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__built_in\">console<\/span>.log(<span class=\"code-snippet__string\">'\u52a0\u5bc6\u540e\u6570\u636e:%o'<\/span>, encrypted);<\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__keyword\">return<\/span> encrypted;<\/span><\/code><code><span class=\"code-snippet_outer\">    }<\/span><\/code><code><span class=\"code-snippet_outer\"><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__comment\">\/**<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">     * \u63d0\u4ea4\u65b9\u6cd5<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">     *\/<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">function<\/span> <span class=\"code-snippet__title\">tijiao<\/span>(<span class=\"code-snippet__params\"><\/span>) <\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__keyword\">var<\/span> str = {<\/span><\/code><code><span class=\"code-snippet_outer\">            <span class=\"code-snippet__string\">\"name\"<\/span>:<span class=\"code-snippet__string\">\"1223334\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">            <span class=\"code-snippet__string\">\"password\"<\/span>:<span class=\"code-snippet__string\">\"asd\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">            <span class=\"code-snippet__attr\">age<\/span>:<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">        };<\/span><\/code><code><span class=\"code-snippet_outer\">            $.ajax({<\/span><\/code><code><span class=\"code-snippet_outer\">                <span class=\"code-snippet__attr\">url<\/span>: <span class=\"code-snippet__string\">\"\/decryption\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">                <span class=\"code-snippet__attr\">type<\/span> : <span class=\"code-snippet__string\">\"POST\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">                <span class=\"code-snippet__attr\">contentType<\/span>: <span class=\"code-snippet__string\">\"application\/json;charset=utf-8\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">                <span class=\"code-snippet__attr\">data<\/span> : RSA_encryption(str) ,<\/span><\/code><code><span class=\"code-snippet_outer\">                <span class=\"code-snippet__attr\">success<\/span> : <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">function<\/span>(<span class=\"code-snippet__params\">data<\/span>) <\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\">                    alert(data);<\/span><\/code><code><span class=\"code-snippet_outer\">                }<\/span><\/code><code><span class=\"code-snippet_outer\">            })<\/span><\/code><code><span class=\"code-snippet_outer\">    }<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">script<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">body<\/span>&gt;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__tag\">&lt;\/<span class=\"code-snippet__name\">html<\/span>&gt;<\/span><\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">3\u3001\u542f\u52a8\u8bbf\u95ee<\/span><\/h5>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">http:\/\/localhost:8080<\/span><\/section>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.5398148148148149\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165353359.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.5398148148148149\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165353359.png\"  \/><\/noscript><\/figure>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">4\u3001\u540e\u53f0\u89e3\u5bc6\u65e5\u5fd7<\/span><\/h5>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.19722222222222222\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165358552.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.19722222222222222\"  data-type=\"png\" data-w=\"1080\" style=\"margin: 20px auto;outline: 0px;border-radius: 6px;display: block;object-fit: contain;box-shadow: rgb(153, 153, 153) 2px 4px 7px;width: 677px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165358552.png\"  \/><\/noscript><\/figure>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"># \u603b\u7ed3<\/span><\/strong><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/h3>\n<section style=\"text-align: left;margin-bottom: 0px;\"><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u7ecf\u8fc7\u4e0a\u9762\u7684\u63a5\u53e3\u52a0\u5bc6\u89e3\u5bc6\u64cd\u4f5c\u3002\u53ef\u4ee5\u770b\u51fa\u6211\u4eec\u7684\u63a5\u53e3\u5982\u679c\u6ca1\u6709\u516c\u94a5\u3001\u6216\u8005\u79c1\u94a5\u522b\u4eba\u6839\u672c\u65e0\u6cd5\u89e3\u5bc6\uff01\u8fd9\u6837\u5c31\u5bf9API\u63a5\u53e3\u8d77\u5230\u4e86\u5f88\u597d\u7684\u4fdd\u62a4\u4f5c\u7528\uff0c\u9632\u6b62\u522b\u4eba\u6293\u5305\uff01<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;background-color: rgb(255, 218, 169);\">\u9879\u76ee\u5751\u70b9<\/span><\/h4>\n<section style=\"text-align: left;margin-bottom: 0px;\"><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u6b64\u9879\u76ee\u7684demo\u65e0\u6cd5\u8bbf\u95ee\uff0c\u96be\u70b9\u5c31\u5728\u524d\u7aef\u5982\u4f55\u52a0\u5bc6\u56de\u4f20\u5230\u540e\u53f0\u89e3\u5bc6\uff0c\u6b64\u5751\u6211\u5e26\u5927\u5bb6\u722c\u51fa\u6765\u4e86\uff01<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u4ee5\u4e0b\u662f\u4e3b\u610f\u4e8b\u9879\uff1a<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">1\u3001\u4e3b\u610fajax\u7684 contentType: \u201capplication\/json;charset=utf-8\u201d<\/span><\/section>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"javascript\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\">$.ajax({<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">url<\/span>: <span class=\"code-snippet__string\">\"\/decryption\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">type<\/span> : <span class=\"code-snippet__string\">\"POST\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">contentType<\/span>: <span class=\"code-snippet__string\">\"application\/json;charset=utf-8\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">data<\/span> : RSA_encryption(str) ,<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">success<\/span> : <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">function<\/span>(<span class=\"code-snippet__params\">data<\/span>) <\/span>{<\/span><\/code><code><span class=\"code-snippet_outer\">        alert(data);<\/span><\/code><code><span class=\"code-snippet_outer\">    }<\/span><\/code><code><span class=\"code-snippet_outer\">})<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">2\u3001\u89e3\u5bc6\u65b9\u6cd5\u5fc5\u987b @RequestBody<\/span><\/section>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"text-align: left;\"><section class=\"code-snippet__fix code-snippet__js\"><ul class=\"code-snippet__line-index code-snippet__js\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><pre class=\"code-snippet__js\" data-lang=\"kotlin\"><section style=\"margin-bottom: 0px;\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@PostMapping(<span class=\"code-snippet__meta-string\">\"\/decryption\"<\/span>)<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@Decrypt<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">@ResponseBody<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">public<\/span> String Decryption(<span class=\"code-snippet__meta\">@RequestBody<\/span> User user){<\/span><\/code><code><span class=\"code-snippet_outer\">    System.<span class=\"code-snippet__keyword\">out<\/span>.println(user.toString());<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__keyword\">return<\/span> user.toString();<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\"><\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u6e90\u4ee3\u7801\u83b7\u53d6\uff1a<\/span><\/section>\n<section style=\"text-align: left;margin-bottom: 0px;\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif;\">\u275d<\/span><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;text-align: justify;\">https:\/\/github.com\/pengziliu\/GitHub-code-practice<\/span><span style=\"font-family: arial, helvetica, sans-serif;font-size: 16px;letter-spacing: 0.034em;text-align: justify;\">\u275e<\/span><\/section>\n<pre spellcheck=\"false\" cid=\"n49\" mdtype=\"fences\" style=\"outline: 0px;letter-spacing: 0.544px;text-align: left;color: rgb(34, 34, 34);caret-color: rgba(0, 0, 0, 0);\"><h1 style=\"outline: 0px;text-wrap: wrap;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.08088235294117647\"  data-w=\"680\" style=\"outline: 0px;letter-spacing: 0.544px;widows: 1;word-spacing: 2px;caret-color: rgb(51, 51, 51);color: rgb(74, 74, 74);font-size: 15px;font-weight: 700;orphans: 4;border-radius: 8px;background-size: 16px !important;visibility: visible !important;width: 300px !important;\" title=\"\u5206\u5272\u7ebf \u5361\u901a\u4eba\u7269\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165402900.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.08088235294117647\"  data-w=\"680\" style=\"outline: 0px;letter-spacing: 0.544px;widows: 1;word-spacing: 2px;caret-color: rgb(51, 51, 51);color: rgb(74, 74, 74);font-size: 15px;font-weight: 700;orphans: 4;border-radius: 8px;background-size: 16px !important;visibility: visible !important;width: 300px !important;\" title=\"\u5206\u5272\u7ebf \u5361\u901a\u4eba\u7269\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165402900.png\"  \/><\/noscript><\/h1><h2 data-fold-block-container=\"\" style=\"outline: 0px;text-wrap: wrap;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;widows: 1;word-spacing: 2px;caret-color: rgb(51, 51, 51);text-align: center;\"><section style=\"outline: 0px;\"><span style=\"outline: 0px;letter-spacing: 0.544px;\"><\/span><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-galleryid=\"\" data-ratio=\"0.44642857142857145\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"560\" style=\"outline: 0px;visibility: visible !important;width: 560px !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165403293.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.44642857142857145\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"560\" style=\"outline: 0px;visibility: visible !important;width: 560px !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165403293.jpeg\"  \/><\/noscript><\/section><\/h2><h2 data-fold-block-container=\"\" style=\"outline: 0px;text-wrap: wrap;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;widows: 1;word-spacing: 2px;caret-color: rgb(51, 51, 51);text-align: center;\"><pre ng-bind-html=\"message.MMActualContent\" style=\"outline: 0px;letter-spacing: 0.544px;text-align: left;\"><pre data-index=\"11\" name=\"code\" style=\"outline: 0px;letter-spacing: 0.544px;font-weight: 700;orphans: 4;visibility: visible;\"><pre style=\"outline: 0px;letter-spacing: 0.544px;visibility: visible;\"><pre ng-bind-html=\"message.MMActualContent\" style=\"outline: 0px;visibility: visible;\"><section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"outline: 0px;white-space: normal;letter-spacing: 0.544px;visibility: visible;\"><pre style=\"outline: 0px;letter-spacing: 0.544px;visibility: visible;\"><section style=\"margin-right: 8px;margin-left: 8px;outline: 0px;font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.544px;white-space: normal;line-height: 1.75em;visibility: visible;\"><span style=\"outline: 0px;font-family: arial, helvetica, sans-serif;visibility: visible;\"><strong style=\"outline: 0px;color: rgb(63, 63, 63);font-size: 16px;letter-spacing: 0.544px;visibility: visible;\"><\/strong><\/span><\/section><section style=\"margin-right: 8px;margin-left: 8px;outline: 0px;font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.544px;white-space: normal;line-height: 1.75em;visibility: visible;\"><span style=\"outline: 0px;font-family: arial, helvetica, sans-serif;visibility: visible;\"><strong style=\"outline: 0px;color: rgb(63, 63, 63);font-size: 16px;letter-spacing: 0.544px;visibility: visible;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"1\"  data-type=\"png\" data-w=\"64\" width=\"20px\" style=\"vertical-align: text-bottom;outline: 0px;display: inline-block;visibility: visible !important;width: 20px !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165405688.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"1\"  data-type=\"png\" data-w=\"64\" width=\"20px\" style=\"vertical-align: text-bottom;outline: 0px;display: inline-block;visibility: visible !important;width: 20px !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165405688.png\"  \/><\/noscript>\u70ed\u95e8\u63a8\u8350<\/strong><\/span><\/section><ul class=\"list-paddingleft-1\" style=\"width: 577.422px;outline: 0px;\"><li style=\"outline: 0px;font-size: 15px;\"><section style=\"margin-right: 8px;margin-left: 8px;outline: 0px;font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;visibility: visible;line-height: 2em;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzIzMzgxOTQ5NA==&amp;mid=2247596086&amp;idx=1&amp;sn=45a0d8e8beea7e90c6e386aa3380671e&amp;chksm=e8fce43fdf8b6d29550da7d4e88a8972cbe285b80ddc5e7f1ebbcee9605629e105fec14fb507&amp;scene=21#wechat_redirect\" textvalue=\"isEmpty \u548c isBlank \u7684\u7528\u6cd5\u533a\u522b\uff0c\u5c45\u7136\u4e00\u534a\u7684\u4eba\u7b54\u4e0d\u4e0a\u6765.....\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" >isEmpty \u548c isBlank \u7684\u7528\u6cd5\u533a\u522b\uff0c\u5c45\u7136\u4e00\u534a\u7684\u4eba\u7b54\u4e0d\u4e0a\u6765.....<\/a><\/section><\/li><li style=\"outline: 0px;font-size: 15px;\"><section style=\"margin-right: 8px;margin-left: 8px;outline: 0px;font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;visibility: visible;line-height: 2em;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzIzMzgxOTQ5NA==&amp;mid=2247596086&amp;idx=2&amp;sn=e9675304b47e975b440d27c11aea00db&amp;chksm=e8fce43fdf8b6d29b08e5c7082afdafb9f5b9ccd171693d35b96e41679b33e7aa0945a057869&amp;scene=21#wechat_redirect\" textvalue=\"\u201c\u5f00\u6e90Windows\u201dReactOS\u8058\u8bf7\u5168\u804c\u5f00\u53d1\u8005\uff0c\u6539\u8fdbGUI\u8bbe\u7f6e\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" >\u201c\u5f00\u6e90Windows\u201dReactOS\u8058\u8bf7\u5168\u804c\u5f00\u53d1\u8005\uff0c\u6539\u8fdbGUI\u8bbe\u7f6e<\/a><\/section><\/li><li style=\"outline: 0px;font-size: 15px;\"><section style=\"margin-right: 8px;margin-left: 8px;outline: 0px;font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;visibility: visible;line-height: 2em;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzIzMzgxOTQ5NA==&amp;mid=2247596086&amp;idx=3&amp;sn=d830b323c55f6da00ba677542a11726a&amp;chksm=e8fce43fdf8b6d298d8e1667b946d03e0ba1259bca118f3add7485aaa943cd0c9061abc126e4&amp;scene=21#wechat_redirect\" textvalue=\"Java\u7f16\u7a0b\u6559\u7a0b-HashMap\u548cHashtable\u4e4b\u95f4\u7684\u533a\u522b\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" >Java\u7f16\u7a0b\u6559\u7a0b-HashMap\u548cHashtable\u4e4b\u95f4\u7684\u533a\u522b<\/a><\/section><\/li><\/ul><section style=\"margin-right: 8px;margin-left: 8px;outline: 0px;font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;visibility: visible;line-height: 2em;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-ratio=\"0.2777777777777778\"  data-w=\"1080\" style=\"outline: 0px;letter-spacing: 0.544px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;visibility: visible !important;width: 578px !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165407133.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-ratio=\"0.2777777777777778\"  data-w=\"1080\" style=\"outline: 0px;letter-spacing: 0.544px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;visibility: visible !important;width: 578px !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165407133.gif\"  \/><\/noscript><\/section><\/pre>\n<\/section>\n<\/h2>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 Java\u9762\u8bd5\u90a3\u4e9b\u4e8b\u513f              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u6765\u6e90\uff5c\u7f51\u7edc \u5728\u9879\u76ee\u4e2d\uff0c\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u7684\u5b89\u5168\uff0c\u6211\u4eec\u5e38\u5e38\u4f1a\u5bf9\u4f20\u9012\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002\u5e38\u7528\u7684\u52a0\u5bc6\u7b97\u6cd5\u5305\u62ec\u5bf9\u79f0\u52a0\u5bc6\uff08AES\uff09\u548c\u975e\u5bf9\u79f0\u52a0\u5bc6\uff08RSA &#8230;<\/p>\n","protected":false},"author":1,"featured_media":3211,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-3228","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spring-boot"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165320324-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165321839.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165320324-300x300.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165320324.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165321839.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165320324-300x300.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165320324.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165320324.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165321839.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165321839.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165323327.png","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165323327.png","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165327154.png","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165327154.png","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165330491.png","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165330491.png","id":"image7"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165334409.png","id":"image8"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165334409.png","id":"image9"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165337451.png","id":"image10"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165337451.png","id":"image11"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165341874.png","id":"image12"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165341874.png","id":"image13"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165343833.png","id":"image14"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165343833.png","id":"image15"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165346859.png","id":"image16"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165346859.png","id":"image17"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165350686.png","id":"image18"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165350686.png","id":"image19"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165353359.png","id":"image20"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165353359.png","id":"image21"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165358552.png","id":"image22"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165358552.png","id":"image23"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165402900.png","id":"image24"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165402900.png","id":"image25"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165403293.jpeg","id":"image26"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165403293.jpeg","id":"image27"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165405688.png","id":"image28"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165405688.png","id":"image29"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165407133.gif","id":"image30"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/11\/20231102165407133.gif","id":"image31"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"Spring Boot","post_date":"2023-11-02","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":481,"next_post_id":3755,"next_post_title":"Kafka\u9ad8\u7ea7\u5e94\u7528\uff1a\u5982\u4f55\u914d\u7f6e\u5904\u7406MQ\u767e\u4e07\u7ea7\u6d88\u606f\u961f\u5217\uff1f","previous_post_id":3232,"previous_post_title":"SpringBoot \u8fd0\u884c\u5185\u5b58\u53ca\u5185\u5b58\u53c2\u6570\u8bbe\u7f6e\uff1a\u52a9\u529b\u9ad8\u6548\u5e94\u7528\u90e8\u7f72\u4e0e\u4f18\u5316","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/3228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=3228"}],"version-history":[{"count":1,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/3228\/revisions"}],"predecessor-version":[{"id":3625,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/3228\/revisions\/3625"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/3211"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=3228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=3228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=3228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}