{"id":2413,"date":"2017-12-30T10:41:39","date_gmt":"2017-12-30T02:41:39","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=2413"},"modified":"2017-12-30T10:41:39","modified_gmt":"2017-12-30T02:41:39","slug":"%e5%8c%ba%e5%9d%97%e9%93%be-hash-%e7%9a%84%e4%b8%8d%e5%8f%af%e4%bf%ae%e6%94%b9%e6%80%a7","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=2413","title":{"rendered":"\u533a\u5757\u94fe Hash \u7684\u4e0d\u53ef\u4fee\u6539\u6027"},"content":{"rendered":"<p>\n\t\u672c\u6587\u4e3b\u8981\u8bb2<a href=\"https:\/\/baike.baidu.com\/item\/\u533a\u5757\u94fe\" name=\"\u533a\u5757\u94fe\" target=\"_blank\" title=\"\u533a\u5757\u94fe\">\u533a\u5757\u94fe<\/a> Hash \u7684\u4e0d\u53ef\u4fee\u6539\u6027\u4ee5\u53ca\u533a\u5757\u94fe\u540d\u5b57\u7684\u7531\u6765\u3002\n<\/p>\n<p>\n\t\u533a\u5757\u4e0e Hash \u662f\u4e00\u4e00\u5bf9\u5e94\u7684\uff0c\u6bcf\u4e2a\u533a\u5757\u7684 Hash \u90fd\u662f\u9488\u5bf9&quot;\u533a\u5757\u5934&quot;\uff08Head\uff09\u8ba1\u7b97\u7684\u3002\n<\/p>\n<blockquote>\n<p>\n\t\tHash = SHA256(\u533a\u5757\u5934)\n\t<\/p>\n<\/blockquote>\n<p>\n\t\u4e0a\u9762\u5c31\u662f\u533a\u5757 Hash \u7684\u8ba1\u7b97\u516c\u5f0f\uff0cHash \u7531\u533a\u5757\u5934\u552f\u4e00\u51b3\u5b9a\uff0c<code>SHA256<\/code>\u662f\u533a\u5757\u94fe\u7684 Hash \u7b97\u6cd5\u3002\n<\/p>\n<p>\n\t\u524d\u9762\u8bf4\u8fc7\uff0c\u533a\u5757\u5934\u5305\u542b\u5f88\u591a\u5185\u5bb9\uff0c\u5176\u4e2d\u6709\u5f53\u524d\u533a\u5757\u4f53\u7684 Hash\uff08\u6ce8\u610f\u662f&quot;\u533a\u5757\u4f53&quot;\u7684 Hash\uff0c\u800c\u4e0d\u662f\u6574\u4e2a\u533a\u5757\uff09\uff0c\u8fd8\u6709\u4e0a\u4e00\u4e2a\u533a\u5757\u7684 Hash\u3002\u8fd9\u610f\u5473\u7740\uff0c\u5982\u679c\u5f53\u524d\u533a\u5757\u7684\u5185\u5bb9\u53d8\u4e86\uff0c\u6216\u8005\u4e0a\u4e00\u4e2a\u533a\u5757\u7684 Hash \u53d8\u4e86\uff0c\u4e00\u5b9a\u4f1a\u5f15\u8d77\u5f53\u524d\u533a\u5757\u7684 Hash \u6539\u53d8\u3002\n<\/p>\n<p>\n\t\u8fd9\u4e00\u70b9\u5bf9\u533a\u5757\u94fe\u6709\u91cd\u5927\u610f\u4e49\u3002\u5982\u679c\u6709\u4eba\u4fee\u6539\u4e86\u4e00\u4e2a\u533a\u5757\uff0c\u8be5\u533a\u5757\u7684 Hash \u5c31\u53d8\u4e86\u3002\u4e3a\u4e86\u8ba9\u540e\u9762\u7684\u533a\u5757\u8fd8\u80fd\u8fde\u5230\u5b83\uff0c\u8be5\u4eba\u5fc5\u987b\u540c\u65f6\u4fee\u6539\u540e\u9762\u6240\u6709\u7684\u533a\u5757\uff0c\u5426\u5219\u88ab\u6539\u6389\u7684\u533a\u5757\u5c31\u8131\u79bb\u533a\u5757\u94fe\u4e86\u3002\u7531\u4e8e\u540e\u9762\u8981\u63d0\u5230\u7684\u539f\u56e0\uff0cHash \u7684\u8ba1\u7b97\u5f88\u8017\u65f6\uff0c\u540c\u65f6\u4fee\u6539\u591a\u4e2a\u533a\u5757\u51e0\u4e4e\u4e0d\u53ef\u80fd\u53d1\u751f\uff0c\u9664\u975e\u6709\u4eba\u638c\u63e1\u4e86\u5168\u7f5151%\u4ee5\u4e0a\u7684\u8ba1\u7b97\u80fd\u529b\u3002\n<\/p>\n<p>\n\t\u6b63\u662f\u901a\u8fc7\u8fd9\u79cd\u8054\u52a8\u673a\u5236\uff0c\u533a\u5757\u94fe\u4fdd\u8bc1\u4e86\u81ea\u8eab\u7684\u53ef\u9760\u6027\uff0c\u6570\u636e\u4e00\u65e6\u5199\u5165\uff0c\u5c31\u65e0\u6cd5\u88ab\u7be1\u6539\u3002\u8fd9\u5c31\u50cf\u5386\u53f2\u4e00\u6837\uff0c\u53d1\u751f\u4e86\u5c31\u662f\u53d1\u751f\u4e86\uff0c\u4ece\u6b64\u518d\u65e0\u6cd5\u6539\u53d8\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"\u533a\u5757\u94fe\" src=\"http:\/\/img.bbs.csdn.net\/upload\/201712\/30\/1514601514_148901.png\" style=\"width: 638px;height: 250px\" \/>\n<\/p>\n<p>\n\t\u6bcf\u4e2a\u533a\u5757\u90fd\u8fde\u7740\u4e0a\u4e00\u4e2a\u533a\u5757\uff0c\u8fd9\u4e5f\u662f&quot;\u533a\u5757\u94fe&quot;\u8fd9\u4e2a\u540d\u5b57\u7684\u7531\u6765\u3002<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=2413\">\u533a\u5757\u94fe Hash \u7684\u4e0d\u53ef\u4fee\u6539\u6027<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4e3b\u8981\u8bb2\u533a\u5757\u94fe Hash \u7684\u4e0d\u53ef\u4fee\u6539\u6027\u4ee5\u53ca\u533a\u5757\u94fe\u540d\u5b57\u7684\u7531\u6765\u3002 \u533a\u5757\u4e0e Hash \u662f\u4e00\u4e00\u5bf9\u5e94\u7684\uff0c\u6bcf\u4e2a\u533a\u5757\u7684 H [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1161,1162,660,572,1596],"class_list":["post-2413","post","type-post","status-publish","format-standard","hentry","category-yyzt","tag-hashmap","tag-hashtable","tag-hash","tag-572","tag-1596"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2413"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2413\/revisions"}],"predecessor-version":[{"id":2414,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2413\/revisions\/2414"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}