{"id":423894,"date":"2021-04-04T04:57:48","date_gmt":"2021-04-03T20:57:48","guid":{"rendered":"http:\/\/4563.org\/?p=423894"},"modified":"2021-04-04T04:57:48","modified_gmt":"2021-04-03T20:57:48","slug":"md5-%e5%be%aa%e7%8e%af%e4%b8%ad%e7%9a%84%e9%82%a3%e4%ba%9b%e5%b8%b8%e6%95%b0%e5%80%bc%ef%bc%8c%e6%9c%89%e4%bb%80%e4%b9%88%e8%a7%84%e5%be%8b%e5%90%97%ef%bc%9f%e4%b8%ba%e4%bb%80%e4%b9%88%e8%a6%81","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=423894","title":{"rendered":"md5 \u5faa\u73af\u4e2d\u7684\u90a3\u4e9b\u5e38\u6570\u503c\uff0c\u6709\u4ec0\u4e48\u89c4\u5f8b\u5417\uff1f\u4e3a\u4ec0\u4e48\u8981\u9009\u8fd9\u4e9b\u503c\uff0c\u800c\u4e0d\u9009\u7528\u5176\u4ed6\u503c\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  md5 \u5faa\u73af\u4e2d\u7684\u90a3\u4e9b\u5e38\u6570\u503c\uff0c\u6709\u4ec0\u4e48\u89c4\u5f8b\u5417\uff1f\u4e3a\u4ec0\u4e48\u8981\u9009\u8fd9\u4e9b\u503c\uff0c\u800c\u4e0d\u9009\u7528\u5176\u4ed6\u503c\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : quxinna <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        a = md5ff(a, b, c, d, x[i], 7, -680876936)<br \/>d = md5ff(d, a, b, c, x[i + 1], 12, -389564586)<br \/>\u5982\u4e0a\u9762\u7684-680876936\uff0c-389564586 \u7b49\u7b49\u3002<br \/>\u8fd9\u4e9b\u503c\u662f\u6839\u636e\u4ec0\u4e48\u786e\u5b9a\u7684\uff1f      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>14<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5628680\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Bromine0x23 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6765\u81ea 2^32 * sin(i) \u53d6\u6574                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628681\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Bromine0x23 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6f0f\u4e86\u4e2a\u7edd\u5bf9\u503c\uff0c\u662f floor(2^32 * abs(sin(i)))                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628682\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : quxinna <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Bromine0x23 <\/p>\n<p>a = md5ff(a, b, c, d, x[i], 7, -680876936) <br \/>b = md5gg(b, c, d, a, x[i], 20, -373897302)<br \/>d = md5hh(d, a, b, c, x[i], 11, -358537222)<br \/>a = md5ii(a, b, c, d, x[i], 6, -198630844)<br \/>\u5f15\u81ea blueimp javascript md5<br \/>i \u4e00\u6837\u7ed3\u679c\u4e0d\u4e00\u6837\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628683\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Bromine0x23 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @quxinna <br \/>\u4e00\u6837\u7684\uff0c\u516c\u5f0f\u7b97\u51fa\u6765\u662f UInt32\uff0c\u8f6c\u6210 Int32 \u5c31\u5bf9\u4e0a\u4e86<br \/>floor(2^32 * abs(sin(1))) = 3614090360 = 0xD76AA478 =&gt; -680876936<br \/>floor(2^32 * abs(sin(20))) = 3921069994 = 0xE9B6C7AA =&gt; -373897302                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628684\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : quxinna <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Bromine0x23 i \u7684\u53d6\u503c\u8303\u56f4\u662f\u591a\u5c11\uff0c\u4e3a\u4ec0\u4e48 md5 \u662f\u53d1\u6563\u7684\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628685\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Bromine0x23 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @quxinna <br \/>i \u53d6 1~64<br \/>\u4f60\u8bf4\u7684\u53d1\u6563\u4e0d\u592a\u61c2\u662f\u4ec0\u4e48\u610f\u601d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628686\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : quxinna <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Bromine0x23 \u5c31\u662f\u79bb\u6563\u7684\u610f\u601d\uff0c\u4efb\u610f\u957f\u5ea6\u7684 string \u5982\u4f55\u4e00\u4e00\u5bf9\u5e94\u5230 128 \u4f4d\u7684 md5 \u8f93\u51fa\u7684\uff0c\u8b6c\u5982 blueimp javascript md5 https:\/\/github.com\/blueimp\/JavaScript-MD5\/ \uff0c\u7b80\u5355\u7684\u79fb\u4f4d\u548c\u6216\u64cd\u4f5c\u662f\u65e0\u6cd5\u505a\u5230\u7684\u5427\uff0c\u662f\u4e0d\u662f floor(2^32 * abs(sin(i)))\u4e2d\u6709\u4ec0\u4e48\u64cd\u4f5c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628687\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : quxinna <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Bromine0x23 \u4e3a\u4ec0\u4e48\u6700\u5927\u53d6 64\uff0c\u5982\u679c\u6587\u4ef6\u5f88\u5927\u6bd4\u5982 1TB\uff0c64 \u4e0d\u662f\u4e0d\u591f\u7528\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628688\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hsfzxjy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             md5 \u4e0d\u662f\u4e00\u4e00\u5bf9\u5e94\u7684\uff0c\u53ea\u662f\u6458\u8981\u7b97\u6cd5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628689\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : quxinna <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hsfzxjy https:\/\/blueimp.github.io\/JavaScript-MD5\/ \u8b6c\u5982\u8fd9\u4e2a\u7f51\u5740\uff0c\u4efb\u610f\u5b57\u7b26\u90fd\u5bf9\u5e94\u4e0d\u540c\u8f93\u51fa\uff0c\u627e\u5230\u78b0\u649e\u6781\u96be\uff0c\u600e\u4e48\u4e0d\u662f\u4e00\u4e00\u5bf9\u5e94\u7684\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628690\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Bromine0x23 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @quxinna <br \/>\u2026\u2026\u5148\u7406\u89e3\u4e0b\u4ec0\u4e48\u662f\u6458\u8981\u7b97\u6cd5\u5427<br \/>\u8fd9\u4e9b\u5e38\u6570\u662f\u7528\u4e8e\u6bcf\u4e00\u8f6e\u6b21\u8fed\u4ee3\u7684\u8ba1\u7b97\uff0c\u5728\u7b97\u6cd5\u8bbe\u8ba1\u4e0a\u53ef\u4ee5\u662f\u968f\u673a\u9009\u53d6\u7684\u5b57\u8282\uff0c\u4e4b\u6240\u4ee5\u57fa\u4e8e\u6b63\u5f26\u51fd\u6570\u662f\u4e3a\u4e86\u8868\u660e\u6ca1\u6709\u7cbe\u5fc3\u6784\u9020\u7684\u540e\u95e8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628691\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pluvet <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @quxinna \u60ca\u4eba\u8a00\u8bba                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628692\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GuuJiang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @quxinna \u770b\u5230\u4f60\u8fde\u53d1\u4e86\u51e0\u4e2a\u5e16\u5b50\u90fd\u662f\u5173\u4e8e md5 \u7684\uff0c\u611f\u89c9\u6709\u70b9\u94bb\u725b\u89d2\u5c16\u4e86\uff0c\u6709\u51e0\u70b9\u4e2a\u4eba\u5efa\u8bae\u4ec5\u4f9b\u53c2\u8003<br \/>1. \u4e0d\u6e05\u695a\u4f60\u4e3a\u4ec0\u4e48\u8981\u5728\u6bcf\u4e2a\u95ee\u9898\u91cc\u90fd\u5e26\u4e0a blueimp\uff0cmd5 \u662f\u4e00\u4e2a\u516c\u5f00\u7684\u7b97\u6cd5\uff0c\u4efb\u4f55\u4e00\u79cd\u8bed\u8a00\u7684\u5177\u4f53\u5b9e\u73b0\u90fd\u9075\u5faa\u540c\u6837\u7684\u7b97\u6cd5<br \/>2. \u5728\u6df1\u5165\u5177\u4f53\u5b9e\u73b0\u7ec6\u8282\u4e4b\u524d\uff0c\u4f60\u5e94\u8be5\u7cfb\u7edf\u6027\u5730\u5b66\u4e60\u4e00\u4e0b\u6458\u8981\u7b97\u6cd5\u7684\u57fa\u672c\u6982\u5ff5\uff0c\u6458\u8981\u7b97\u6cd5\u8fd8\u6709\u5f88\u591a\uff0c\u800c\u4f60\u5b58\u5728\u8ba4\u77e5\u9519\u8bef\u7684\u51e0\u4e2a\u6027\u8d28\u662f\u6240\u6709\u6458\u8981\u7b97\u6cd5\u90fd\u5177\u5907\u7684\u57fa\u672c\u6027\u8d28\uff0c\u4e0e\u662f\u4e0d\u662f md5 \u65e0\u5173\uff0c\u4e8b\u5b9e\u4e0a\u5bf9\u4e8e\u5927\u591a\u6570\u5de5\u7a0b\u5e94\u7528\u6765\u8bf4\uff0c\u9996\u5148\u8981\u5f53\u4f5c\u9ed1\u76d2\uff0c\u5145\u5206\u4e86\u89e3\u7b97\u6cd5\u7684\u80cc\u666f\u53ca\u9002\u7528\u573a\u666f\uff0c\u6709\u5174\u8da3\u518d\u53bb\u6df1\u7a76\u5177\u4f53\u5b9e\u73b0<br \/>3. \u5173\u4e8e\u4f60\u8bf4\u7684\u4e00\u4e00\u5bf9\u5e94\u95ee\u9898\uff0c\u7528\u7b80\u5355\u7684\u9e3d\u5de2\u539f\u7406\u5c31\u53ef\u4ee5\u5f97\u51fa\u7ed3\u8bba\uff0cmd5 \u7684\u503c\u57df\u662f\u6709\u9650\u7684\uff0c\u800c\u5b9a\u4e49\u57df\u662f\u8fdc\u5927\u4e8e\u503c\u57df\u7684\uff0c\u5fc5\u7136\u4e0d\u53ef\u80fd\u662f\u4e00\u4e00\u5bf9\u5e94\uff0c\u627e\u5230\u78b0\u649e\u6781\u96be\u662f\u56e0\u4e3a\u8fd9\u4e2a\u503c\u57df\u867d\u7136\u6709\u9650\uff0c\u4f46\u662f\u5bf9\u4e8e\u4eba\u7c7b\u6765\u8bf4\u8fd8\u662f\u592a\u5927\u4e86\uff0c\u60f3\u5355\u7eaf\u9760\u78b0\u8fd0\u6c14\u7684\u65b9\u5f0f\u627e\u5230\u78b0\u649e\u53ef\u4ee5\u8ba4\u4e3a\u51e0\u4e4e\u4e0d\u53ef\u80fd\uff0c\u8fd9\u4e5f\u4ece\u4fa7\u9762\u4f53\u73b0\u4e86\u5206\u6563\u6027\u7684\u826f\u597d<br \/>4. \u7406\u8bba\u4e0a\u4efb\u4f55\u4e00\u4e2a\u628a\u4efb\u610f\u957f\u5ea6\u4fe1\u606f\u6620\u5c04\u5230\u56fa\u5b9a\u957f\u5ea6\u4fe1\u606f\u7684\u7b97\u6cd5\u90fd\u53ef\u4ee5\u79f0\u4e3a\u6458\u8981\u7b97\u6cd5\uff0c\u53ea\u662f\u6027\u8d28\u6709\u597d\u574f\u4e4b\u5206\uff0c\u4e3b\u6d41\u7684 md5 \u3001sha \u7b49\u7b97\u6cd5\u4e4b\u6240\u4ee5\u80fd\u88ab\u5b9e\u9645\u5e94\u7528\u5728\u5b89\u5168\u9886\u57df\uff0c\u662f\u56e0\u4e3a\u5b83\u4eec\u5177\u5907\u4e0b\u9762\u8fd9\u4e9b\u826f\u597d\u7684\u6027\u8d28\uff1a\u539f\u6587\u4e2d\u4efb\u610f\u4e00\u4e2a\u4f4d\u7f6e\u7684\u6539\u53d8\u90fd\u4f1a\u5bfc\u81f4\u7ed3\u679c\u7684\u6539\u53d8\uff0c\u539f\u6587\u4e2d\u4efb\u610f\u4e00\u4e2a\u5c0f\u7684\u6539\u53d8\u90fd\u4f1a\u5bfc\u81f4\u7ed3\u679c\u7684\u5927\u5e45\u5ea6\u6539\u53d8\uff0c\u5b9e\u73b0\u7ec6\u8282\u4e2d\u7684\u5404\u79cd\u64cd\u4f5c\u53ca\u5e38\u6570\u7684\u9009\u53d6\u90fd\u662f\u4e3a\u4e86\u5b9e\u73b0\u8fd9\u4e24\u4e2a\u76ee\u6807\uff0c\u81f3\u4e8e\u4e3a\u4ec0\u4e48\u80fd\u505a\u5230\u4f60\u53ef\u4ee5\u53bb\u627e\u522b\u4eba\u603b\u7ed3\u597d\u7684\u80cc\u540e\u7684\u6570\u5b66\u539f\u7406\u76f8\u5173\u7684\u6587\u732e\u770b\uff0c\u4f46\u662f\u6055\u6211\u76f4\u8a00\u6309\u7167\u4f60\u73b0\u5728\u7684\u7406\u89e3\u770b\u8fd9\u4e9b\u8fd8\u4e3a\u65f6\u5c1a\u65e9\uff0c\u6bd5\u7adf\u8001\u7956\u5b97\u4e5f\u8bf4\u8fc7\uff0c\u601d\u800c\u4e0d\u5b66\u5219\u6b86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5628693\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : quxinna <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Bromine0x23 \u6211\u4e5f\u77e5\u9053\u57fa\u4e8e\u6b63\u5f26\u51fd\u6570\u7684\u8fed\u4ee3\u8fd0\u7b97\u662f\u6458\u8981\u7b97\u6cd5\u7684\u57fa\u7840\uff0c\u53ef\u662f blueimp javascript md5 https:\/\/github.com\/blueimp\/JavaScript-MD5\/ \uff0c\u770b\u5230\u811a\u672c\u91cc\u9762\u90fd\u662f\u79fb\u4f4d\u64cd\u4f5c\uff0c\u6ca1\u6709\u6b63\u5f26\u51fd\u6570\u7684\u8fed\u4ee3\u8fd0\u7b97\uff0c\u662f\u4e0d\u662f\u91cc\u9762\u6709\u4ec0\u4e48 javascript \u8bed\u6cd5\u6211\u770b\u9519\u4e86\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>md5 \u5faa\u73af\u4e2d\u7684\u90a3\u4e9b\u5e38\u6570\u503c\uff0c\u6709\u4ec0\u4e48&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/423894"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=423894"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/423894\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=423894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=423894"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=423894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}