{"id":9981,"date":"2018-12-16T13:00:00","date_gmt":"2018-12-16T13:00:00","guid":{"rendered":"https:\/\/coinpoker.com\/cn\/?p=9981"},"modified":"2025-02-17T06:15:17","modified_gmt":"2025-02-17T06:15:17","slug":"advanced-transparent-rng-guide","status":"publish","type":"post","link":"https:\/\/coinpoker.com\/cn\/advanced-transparent-rng-guide\/","title":{"rendered":"\u8fdb\u9636\u6559\u7a0b\uff1aCoinPoker\u900f\u660e\u6d17\u724c\u6280\u672f\u8be6\u89e3"},"content":{"rendered":"\n
\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u5728\u7ebf\u6251\u514b\u5ba4\u4e00\u76f4\u5bf9\u5176\u6d17\u724c\u8f6f\u4ef6\u4fdd\u6301\u4fdd\u5bc6\u3002\u73a9\u5bb6\u65e0\u6cd5\u9a8c\u8bc1\u8fd9\u4e9b\u5c01\u95ed\u7cfb\u7edf\u662f\u5426\u4ee5\u516c\u5e73\u7684\u65b9\u5f0f\u6d17\u724c\uff0c\u800c\u8fd9\u6b63\u662f CoinPoker \u900f\u660e\u6d17\u724c\u5668\u6240\u8981\u6539\u53d8\u7684\u5730\u65b9\u3002<\/p>\n\n\n\n
\u901a\u8fc7\u4f7f\u7528\u5355\u5411\u52a0\u5bc6\u54c8\u5e0c\u51fd\u6570\uff0cCoinPoker \u5168\u65b0\u6d17\u724c\u5668\u4f7f\u5f97\u6211\u4eec\u80fd\u591f\u5b89\u5168\u5730\u62ab\u9732\u6d17\u724c\u8fc7\u7a0b\u7684\u4fe1\u606f\uff0c\u5e76\u4e3a\u4f60\u63d0\u4f9b\u4ee5\u4e0b\u529f\u80fd\uff1a<\/p>\n\n\n\n
\u5728\u6df1\u5165\u4e86\u89e3\u900f\u660e\u6d17\u724c\u6280\u672f\u4e4b\u524d\uff0c\u5148\u770b\u4e00\u4e0b\u6211\u4eec\u7684\u7b80\u77ed\u6559\u7a0b\uff0c\u5e2e\u52a9\u4f60\u4eb2\u81ea\u4f53\u9a8c\u8fd9\u4e00\u529f\u80fd\uff01<\/p>\n\n\n\n
\u5982\u679c\u4f60\u662f\u7b2c\u4e00\u6b21\u63a5\u89e6\u6211\u4eec\u7684\u900f\u660e\u6d17\u724c\u5668\uff0c\u6211\u4eec\u5efa\u8bae\u4f60\u5148\u67e5\u770b\u8fd9\u4e2a\u57fa\u672c\u6307\u5357\u300aCoinPoker\u7684\u900f\u660e\u516c\u5f00\u6d17\u724c\u8fc7\u7a0b<\/a>\u300b\uff0c\u91cc\u9762\u9644\u6709\u56fe\u7247\u8be6\u89e3\u3002<\/p>\n\n\n\n \u6b65\u9aa4 1\uff1a<\/strong>\u4e3a\u4e86\u8bc1\u660e\u624b\u724c\u7684\u516c\u5e73\u6027\uff0c\u4f60\u9700\u8981\u8bbf\u95ee\u524d\u9762\u63d0\u5230\u7684\u5355\u5411\u54c8\u5e0c\u51fd\u6570\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fbRNG \u6d17\u724c\u987a\u5e8f\u94fe\u63a5\uff0c\u4f4d\u4e8e\u624b\u724c\u5386\u53f2\u6807\u7b7e\u9875\u7684\u5e95\u90e8\uff0c\u6765\u627e\u5230\u8fd9\u4e9b\u4fe1\u606f\u3002<\/p>\n\n\n\n \u6b65\u9aa4 2\uff1a<\/strong>\u5728\u8fd9\u91cc\uff0c\u4f60\u4f1a\u770b\u5230\u4e00\u957f\u4e32\u54c8\u5e0c\u5e8f\u5217\u3002\u7b2c\u4e00\u90e8\u5206\u662f\u521d\u59cb\u724c\u7ec4\u7684\u987a\u5e8f\uff0c\u63a5\u4e0b\u6765\u662f\u6bcf\u4e2a\u73a9\u5bb6\u548c CoinPoker \u7684\u52a0\u5bc6\u79cd\u5b50\uff0c\u6700\u540e\u662f\u6700\u7ec8\u724c\u7ec4\u987a\u5e8f\u4e2d\u6bcf\u5f20\u724c\u7684\u54c8\u5e0c\u503c\u3002<\/p>\n\n\n\n \u5c06\u6d17\u724c\u540e\u7684\u54c8\u5e0c\u724c\u7ec4\u4e0b\u5217\u51fa\u7684\u6570\u5b57\u89c6\u4e3a\u5b83\u4eec\u5728\u724c\u7ec4\u4e2d\u7684\u4f4d\u7f6e\uff0c\u800c\u6bcf\u4e2a\u73a9\u5bb6\u7684\u54c8\u5e0c\u503c\u5219\u662f\u4ed6\u4eec\u5728\u624b\u724c\u5f00\u59cb\u65f6\u63d0\u4ea4\u7684\u52a0\u5bc6\u201c\u6d17\u724c\u56e0\u5b50\u201d\u3002<\/p>\n\n\n\n \u6b65\u9aa4 3\uff1a<\/strong>\u5982\u679c\u6ca1\u6709\u9a8c\u8bc1\u5de5\u5177\uff0c\u8fd9\u4e9b\u6570\u636e\u662f\u6ca1\u6709\u610f\u4e49\u7684\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u7a97\u53e3\u9876\u90e8\u7684\u94fe\u63a5\u6765\u8bbf\u95ee\u8be5\u5de5\u5177\u3002<\/p>\n\n\n\n \u6b65\u9aa4 4\uff1a<\/strong>\u4e0b\u4e00\u6b65\u662f\u9a8c\u8bc1\u624b\u724c\uff0c\u6839\u636e\u4f60\u7684\u9700\u6c42\uff0c\u9a8c\u8bc1\u8fc7\u7a0b\u53ef\u80fd\u6709\u4e24\u79cd\u60c5\u51b5\uff1a<\/p>\n\n\n\n \u9009\u9879 1\uff1a<\/strong><\/p>\n\n\n\n \u5c06\u52a0\u5bc6\u79cd\u5b50\u6216\u6211\u4eec\u79f0\u4e4b\u4e3a\u201c\u6d17\u724c\u56e0\u5b50\u201d\u7684\u6570\u636e\u8f93\u5165\u5230\u9a8c\u8bc1\u5de5\u5177\u4e2d\u3002\u8fd9\u4e9b\u6570\u636e\u7531\u84dd\u8272\u7bad\u5934\u6807\u8bb0\u3002\u8f93\u51fa\u7ed3\u679c\u5c06\u662f\u201c\u96c6\u4f53\u6d17\u724c\u56e0\u5b50\u201d\u6216\u7ec4\u5408\u54c8\u5e0c\uff0c\u4ee5\u53ca\u6700\u7ec8\u724c\u7ec4\u987a\u5e8f\u3002<\/p>\n\n\n\n \u5982\u679c\u5b83\u4eec\u5339\u914d\uff0c\u5c31\u4ee3\u8868\u4f60\u5df2\u7ecf\u6210\u529f\u9a8c\u8bc1\u4e86\u4f60\u5728\u6d17\u724c\u4e2d\u7684\u53c2\u4e0e\uff01<\/p>\n\n\n\n \u9009\u9879 2\uff1a<\/strong><\/p>\n\n\n\n \u9009\u62e9\u4e00\u5f20\u5df2\u53d1\u7684\u724c\uff08\u8fd9\u4e9b\u724c\u7684\u5de6\u4fa7\u548c\u53f3\u4fa7\u5206\u522b\u6709\u4e00\u4e2a\u54c8\u5e0c\u503c\u548c\u52a0\u5bc6\u54c8\u5e0c\u51fd\u6570\uff09\u3002\u5c06\u53f3\u4fa7\u51fd\u6570\u4e2d\u7684\u54c8\u5e0c\u503c\u8f93\u5165\u5230\u724c\u5361\u9a8c\u8bc1<\/strong>\u90e8\u5206\u3002\u8f93\u51fa\u7ed3\u679c\u5e94\u8be5\u662f CoinPoker \u5de6\u4fa7\u5217\u51fa\u7684\u54c8\u5e0c\u503c\uff0c\u4ee5\u53ca\u6b63\u786e\u7684\u724c\u9762\u503c\u3002<\/p>\n\n\n\n \u6b65\u9aa4 5\uff1a<\/strong>\u5c3d\u60c5\u4eab\u53d7\u63a2\u7d22\u672a\u53d1\u724c\u5e76\u8bc1\u660e\u4f60\u53c2\u4e0e\u5728\u7ebf\u6251\u514b\u9996\u4e2a\u53bb\u4e2d\u5fc3\u5316 RNG \u7cfb\u7edf\u7684\u4e50\u8da3\u5427\uff01<\/p>\n\n\n\n \u8fdb\u9636\u6559\u7a0b\u8be6\u89e3\uff1aCoinPoker\u7684RNG\u5982\u4f55\u8fd0\u4f5c<\/strong><\/p>\n\n\n\n \u60f3\u8c61\u4e00\u4e0b\u672a\u6d17\u724c\u7684\u724c\u7ec4\u5982\u4e0b\uff1a2\u2663, Q\u2666, K\u2665<\/p>\n\n\n\n \u5b9e\u9645\u4e0a\u8fd9\u4f1a\u662f 52 \u5f20\u724c\u7684\u6392\u5217\uff0c\u4f46\u4e3a\u4e86\u8ba9\u4f60\u7406\u89e3\u8fd9\u4e2a\u8fc7\u7a0b\uff0c\u6211\u4eec\u5c06\u6570\u91cf\u9650\u5236\u4e3a\u4e09\u5f20\u3002\u4f7f\u7528\u8fd9\u4e2a\u724c\u7ec4\u987a\u5e8f\uff0cCoinPoker \u5c06\u521b\u5efa\u521d\u59cb\u724c\u7ec4\u5e76\u4e0e\u684c\u4e0a\u7684\u6240\u6709\u73a9\u5bb6\u5171\u4eab\uff0c\u63a5\u4e0b\u6765\u7684\u6b65\u9aa4\u5c06\u4f9d\u6b64\u8fdb\u884c\u3002<\/p>\n\n\n\n CoinPoker \u4f7f\u7528\u4e00\u4e2a\u79d8\u5bc6\u503c\u6765\u8fd0\u884c\u5176 RNG\uff0c\u6211\u4eec\u79f0\u4e4b\u4e3a\u79cd\u5b50\u3002\u8fd9\u4e2a\u503c\u4ec5\u6682\u65f6\u5b58\u5728\uff0c\u5e76\u4ec5\u7528\u4e8e\u542f\u52a8\u6574\u4e2a\u8fc7\u7a0b<\/p>\n\n\n\n CoinPoker \u4f7f\u7528\u8fd9\u4e2a\u968f\u673a\u79cd\u5b50\u751f\u6210\u4e00\u4e2a\u76d0\u503c<\/strong>\uff1b\u8fd9\u662f\u968f\u673a\u6570\u636e\uff0c\u5145\u5f53\u5355\u5411\u52a0\u5bc6\u51fd\u6570\u7684\u5bc6\u7801\u6216\u53e3\u4ee4\u3002\u5b83\u4e0e\u6bcf\u5f20\u724c\u7ed3\u5408\uff0c\u751f\u6210\u6bcf\u5f20\u724c\u7684\u54c8\u5e0c\u503c<\/strong>\u3002\u4ee5\u4e4b\u524d\u63d0\u5230\u7684\u4e09\u5f20\u724c\u4e3a\u4f8b\uff0c\u516c\u5f0f\u5927\u81f4\u5982\u4e0b\uff1a<\/p>\n\n\n\n \u6ce8\u610f\uff1a\u4e3a\u7b80\u5355\u89e3\u91ca\uff0c\u54c8\u5e0c\u503c aa\u3001bb \u548c cc \u88ab\u7b80\u5316\u4e86\u3002\u5b9e\u9645\u4e0a\uff0c\u5b83\u4eec\u662f 256 \u4f4d\u5b57\u7b26\u4e32\uff0c\u5bf9\u4eba\u7c7b\u6765\u8bf4\u5904\u7406\u8d77\u6765\u66f4\u4e3a\u590d\u6742\u3002<\/p>\n\n\n\n CoinPoker \u4f7f\u7528\u6b65\u9aa4 1 \u4e2d\u7684\u968f\u673a\u79cd\u5b50\u5bf9\u6b65\u9aa4 2 \u4e2d\u7684\u54c8\u5e0c\u724c\u7ec4\u8fdb\u884c\u6d17\u724c\u3002<\/p>\n\n\n\n CoinPoker \u5c06\u8fd9\u4e2a\u54c8\u5e0c\u724c\u7ec4\uff08\u4f5c\u4e3a\u4e00\u4e2a\u5411\u91cf\uff0c\u5305\u62ec\u521d\u59cb\u724c\u7ec4\u987a\u5e8f\u4e2d\u6240\u6709\u724c\u7684\u54c8\u5e0c\u503c\uff09\u53d1\u9001\u7ed9\u6bcf\u4e2a\u73a9\u5bb6\u3002<\/p>\n\n\n\n \u4f7f\u7528\u54c8\u5e0c\u503c\u7684\u76ee\u7684\u662f\u4f7f\u6211\u4eec\u80fd\u591f\u63ed\u793a\u724c\u7ec4\u4e2d\u7684\u67d0\u4e9b\u724c\uff0c\u5e76\u5141\u8bb8\u73a9\u5bb6\u9a8c\u8bc1\u5b83\u4eec\uff0c\u540c\u65f6\u907f\u514d\u66b4\u9732\u5176\u4ed6\u5e94\u8be5\u4fdd\u5bc6\u7684\u724c\uff08\u4f8b\u5982\uff0c\u5df2\u5f03\u724c\u7684\u624b\u724c\uff09\u3002\u73b0\u5728\uff0c\u6240\u6709\u73a9\u5bb6\u90fd\u6301\u6709\u4e00\u4e2a\u54c8\u5e0c\u503c\u5217\u8868\uff0c\u63ed\u793a\u4e86\u521d\u59cb\u724c\u7ec4\u7684\u987a\u5e8f\u3002<\/p>\n\n\n\n \u63a5\u4e0b\u6765\u7684\u6b65\u9aa4\u5c06\u6db5\u76d6\u5982\u4f55\u5229\u7528\u73a9\u5bb6\u7684\u8f93\u5165\u5c06\u521d\u59cb\u724c\u7ec4\u8f6c\u6362\u4e3a\u6700\u7ec8\u724c\u7ec4\uff0c\u8fd9\u4e9b\u8f93\u5165\u4e0e CoinPoker \u7684\u8f93\u5165\u7ed3\u5408\uff0c\u5f62\u6210\u96c6\u4f53\u8f93\u5165\uff08\u5373\u805a\u5408\u79cd\u5b50\uff09\u3002\u540c\u6837\uff0c\u8fd9\u4e9b\u88ab\u79f0\u4e3a\u79cd\u5b50\u3002<\/p>\n\n\n\n \u4e3a\u4e86\u7b80\u5316\u8fd9\u4e2a\u8fc7\u7a0b\u7684\u590d\u6742\u6027\uff0c\u5047\u8bbe\u684c\u4e0a\u6709\u4e24\u4f4d\u73a9\u5bb6\uff0c\u6211\u4eec\u79f0\u4ed6\u4eec\u4e3a Alice \u548c Bob\u3002<\/p>\n\n\n\n \u73b0\u5728 Alice \u548c Bob \u9700\u8981\u8ba1\u7b97\u4ed6\u4eec\u7684\u79cd\u5b50\u7684\u54c8\u5e0c\u503c\uff0c\u5e76\u5c06\u5176\u53d1\u9001\u7ed9 CoinPoker\u3002\u516c\u5f0f\u5927\u81f4\u5982\u4e0b\uff1a<\/p>\n\n\n\n CoinPoker \u751f\u6210\u4e00\u4e2a\u65b0\u7684\u79cd\u5b50\uff0c\u4e0d\u662f\u6b65\u9aa4 1 \u4e2d\u7684\u90a3\u4e2a\u3002\u8fd9\u4e2a\u968f\u673a\u79cd\u5b50\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u54c8\u5e0c\u503c\uff1aHash( CoinPoker_seed) = ZZ<\/p>\n\n\n\n \u73a9\u5bb6\u7684\u54c8\u5e0c\u79cd\u5b50\uff0c\u4ee5\u53ca CoinPoker \u7684\u54c8\u5e0c\u79cd\u5b50\uff0c\u968f\u540e\u88ab\u6c47\u603b\u6210\u4e00\u4e2a\u627f\u8bfa\u79cd\u5b50\u5217\u8868\uff1a[XX, YY, ZZ]\u3002<\/p>\n\n\n\n CoinPoker \u5c06\u627f\u8bfa\u79cd\u5b50\u7684\u5411\u91cf\u53d1\u9001\u7ed9 Alice \u548c Bob\u3002<\/p>\n\n\n\n \u5728\u6536\u5230\u627f\u8bfa\u79cd\u5b50\u540e\uff0cAlice \u548c Bob \u53d1\u9001\u4ed6\u4eec\u5728\u6b65\u9aa4 5 \u4e2d\u4f7f\u7528\u7684\u771f\u5b9e\u79cd\u5b50\u3002\u8fd9\u5c31\u662f\u7528\u6765\u751f\u6210\u54c8\u5e0c\u503c\u7684\u79cd\u5b50\u3002\u56e0\u6b64\uff0cHash(Alice’s_seed) = XX \u548c Hash(Bob’s_seed) = YY\u3002<\/p>\n\n\n\n \u7136\u540e\uff0c\u771f\u5b9e\u7684\u79cd\u5b50\u88ab\u7528\u6765\u521b\u5efa\u4e00\u4e2a\u805a\u5408\u79cd\u5b50<\/strong>\u3002\u8fd9\u4e2a\u65b0\u79cd\u5b50\u8003\u8651\u4e86\u6240\u6709\u73a9\u5bb6\u7684\u79cd\u5b50\u4ee5\u53ca CoinPoker \u7684\u79cd\u5b50\uff0c\u4ece\u800c\u5f97\u51fa\u4e00\u4e2a\u7531\u6574\u4e2a\u684c\u9762\u5171\u540c\u8d21\u732e\u7684\u503c\u3002<\/p>\n\n\n\n Hash(Alice\u2019s_seed + Bob\u2019s_seed + CoinPoker\u2019s_seed) = aggregated_seed<\/p>\n\n\n\n CoinPoker \u4f7f\u7528\u805a\u5408\u79cd\u5b50\u6765\u6d17\u724c\u521d\u59cb\u724c\u7ec4\u3002\u6700\u7ec8\u724c\u7ec4\u7684\u54c8\u5e0c\u503c\u968f\u540e\u88ab\u5206\u53d1\u7ed9\u6240\u6709\u73a9\u5bb6\u3002\u8bf7\u6ce8\u610f\uff0c\u8fd9\u662f\u76f4\u5230\u624b\u724c\u5b8c\u6210\u4e4b\u524d\u4f7f\u7528\u7684\u6700\u7ec8\u724c\u7ec4\u3002<\/p>\n\n\n\n \u521d\u59cb\u724c\u7ec4\uff1aQ\u2666, K\u2665, 2\u2663 \u2192 RNG \u4f7f\u7528\u805a\u5408\u79cd\u5b50 \u2192 \u6700\u7ec8\u724c\u7ec4\uff1aK\u2665, 2\u2663, Q\u2666 \u4f7f\u7528\u52a0\u5bc6\u54c8\u5e0c\u51fd\u6570\u7684\u4e00\u4e2a\u4e3b\u8981\u4f18\u52bf\u662f\uff0c\u6211\u4eec\u80fd\u591f\u5b89\u5168\u5730\u516c\u5f00\u6709\u5173\u6d17\u724c\u7684\u4fe1\u606f\uff0c\u8fd9\u4e9b\u4fe1\u606f\u540e\u6765\u53ef\u4ee5\u7528\u6765\u8bc1\u660e\u6d17\u724c\u662f\u5426\u516c\u5e73\u3002\u6211\u4eec\u79f0\u4e4b\u4e3a RNG \u9a8c\u8bc1\u5de5\u5177\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u5c06\u7ee7\u7eed\u4ecb\u7ecd\u6b65\u9aa4\uff0c\u5e2e\u52a9\u4f60\u7406\u89e3\u5b83\u7684\u5de5\u4f5c\u539f\u7406\u3002<\/p>\n\n\n\n \u8bf7\u6ce8\u610f\uff0cAlice \u548c Bob \u5f7c\u6b64\u5e76\u4e0d\u77e5\u9053\u5bf9\u65b9\u7684\u771f\u5b9e\u79cd\u5b50\uff0c\u53ea\u80fd\u8bbf\u95ee\u81ea\u5df1\u7684\u771f\u5b9e\u79cd\u5b50\u3002\u4ed6\u4eec\u6240\u80fd\u8bbf\u95ee\u7684\u662f\u5176\u4ed6\u73a9\u5bb6\u548c CoinPoker \u7684\u6240\u6709\u79cd\u5b50\u54c8\u5e0c\u503c\uff08\u8bf7\u8bb0\u4f4f\u6b65\u9aa4 8 \u548c 9\uff09\u3002<\/p>\n\n\n\n \u624b\u724c\u7ed3\u675f\u540e\uff0c\u73a9\u5bb6\u5c06\u6536\u5230\u6240\u6709\u53c2\u4e0e\u8005\u7684\u771f\u5b9e\u79cd\u5b50\uff0c\u4ed6\u4eec\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e9b\u79cd\u5b50\u6765\u9a8c\u8bc1\u81ea\u5df1\u5728\u6700\u7ec8\u724c\u7ec4\u6d17\u724c\u4e2d\u7684\u53c2\u4e0e\u60c5\u51b5\uff0c\u4ee5\u53ca\u724c\u9762\u7684\u968f\u673a\u6027\u3002<\/p>\n\n\n\n \u9996\u5148\uff0c\u73a9\u5bb6\u9700\u8981\u4f7f\u7528\u6bcf\u4e2a\u771f\u5b9e\u79cd\u5b50\u6765\u9a8c\u8bc1\u4ed6\u4eec\u62e5\u6709\u7684\u54c8\u5e0c\u503c\u662f\u5426\u6b63\u786e\u3002\u4ed6\u4eec\u901a\u8fc7\u5c06\u771f\u5b9e\u79cd\u5b50\u8f93\u5165\u54c8\u5e0c\u516c\u5f0f\uff0c\u68c0\u67e5\u7ed3\u679c\u662f\u5426\u4e0e\u5b9e\u9645\u6536\u5230\u7684\u503c\u5339\u914d\u3002<\/p>\n\n\n\n \u5982\u679c Hash(Alice_seed) \u786e\u5b9e\u7b49\u4e8e XX\uff0c\u90a3\u4e48\u5b83\u5c31\u88ab\u9a8c\u8bc1\u4e3a\u6b63\u786e\u3002<\/p>\n\n\n\n \u4e00\u65e6\u6240\u6709\u73a9\u5bb6\u548c CoinPoker \u7684\u771f\u5b9e\u79cd\u5b50\u90fd\u7528\u4e8e\u9a8c\u8bc1\u54c8\u5e0c\u503c\uff0c\u73a9\u5bb6\u8fd8\u53ef\u4ee5\u901a\u8fc7\u5c06\u7f3a\u5931\u7684\u503c\u8f93\u5165\u54c8\u5e0c\u51fd\u6570\u6765\u68c0\u67e5\u805a\u5408\u79cd\u5b50\u662f\u5426\u6b63\u786e\uff1a<\/p>\n\n\n\n Hash(Alice\u2019s_seed + Bob\u2019s_seed + CoinPoker\u2019s_seed) = aggregated_seed<\/p>\n\n\n\n \u73b0\u5728\uff0c\u805a\u5408\u79cd\u5b50\u5df2\u7ecf\u88ab\u6bcf\u4e2a\u73a9\u5bb6\u9a8c\u8bc1\u4e3a\u6b63\u786e\uff0cAlice \u6216 Bob \u53ef\u4ee5\u9006\u5411\u8fd0\u884c RNG \u51fd\u6570\u3002\u901a\u8fc7\u5c06\u6700\u7ec8\u724c\u7ec4\u7684\u54c8\u5e0c\u503c\u548c\u805a\u5408\u79cd\u5b50\u8f93\u5165\u8ba1\u7b97\u521d\u59cb\u724c\u7ec4\uff0c\u73a9\u5bb6\u53ef\u4ee5\u68c0\u67e5\u5b83\u662f\u5426\u4f1a\u5f97\u5230\u4e0e\u6b65\u9aa4 4 \u4e2d\u6536\u5230\u7684\u521d\u59cb\u724c\u7ec4\u987a\u5e8f\u76f8\u540c\u7684\u7ed3\u679c\u3002<\/p>\n\n\n\n \u5982\u679c\u7ed3\u679c\u4e0e\u521d\u59cb\u724c\u7ec4\u7684\u54c8\u5e0c\u987a\u5e8f\u5339\u914d\uff0c\u90a3\u4e48\u73a9\u5bb6\u5c31\u6210\u529f\u5730\u8bc1\u660e\u4e86\u4ed6\u4eec\u53c2\u4e0e\u4e86\u6700\u7ec8\u724c\u7ec4\u7684\u6d17\u724c\u3002<\/p>\n\n\n\n \u8bc1\u660e\u53c2\u4e0e\u53ea\u662f\u7b2c\u4e00\u6b65\u3002\u73a9\u5bb6\u8fd8\u53ef\u4ee5\u9a8c\u8bc1\u6700\u7ec8\u724c\u7ec4\u4e2d\u7684\u5361\u7247\u662f\u5426\u5177\u5907\u968f\u673a\u6027\u3002\u8fd9\u53ef\u4ee5\u5e94\u7528\u4e8e\u6240\u6709\u516c\u5171\u724c\u548c\u5176\u4ed6\u73a9\u5bb6\u63ed\u793a\u7684\u624b\u724c\uff08\u5373\u65e0\u5f03\u724c\u624b\u724c\uff09\uff0c\u4f46\u4e3a\u4e86\u8bf4\u660e\uff0c\u6211\u4eec\u5c06\u5c55\u793a\u5982\u4f55\u9a8c\u8bc1\u524d\u4e24\u5f20\u724c\u7684\u516c\u5e73\u6027\uff1a<\/p>\n\n\n\n \u4e00\u65e6\u724c\u5c40\u7ed3\u675f\uff0c\u73a9\u5bb6\u5c06\u6536\u5230\uff08\u9664\u4e86\u6240\u6709\u771f\u5b9e\u79cd\u5b50\u4e4b\u5916\uff09\u524d\u4e24\u5f20\u53d1\u724c\u7684\u76d0\u503c\u548c\u5361\u724c\u503c\u3002\u8bf7\u6ce8\u610f\uff0c\u5361\u724c\u503c\u548c\u76d0\u503c\u5df2\u5728\u6b65\u9aa4 2 \u7684\u54c8\u5e0c\u51fd\u6570\u4e2d\u4f7f\u7528\uff1a<\/p>\n\n\n\n Hash(Kh + salt3) = cc<\/p>\n\n\n\n \u73b0\u5728\uff0cAlice \u548c Bob \u5df2\u7ecf\u83b7\u5f97\u4e86\u54c8\u5e0c\u51fd\u6570\u4e2d\u6240\u6709\u53d8\u91cf\u7684\u503c\uff0c\u4ed6\u4eec\u53ef\u4ee5\u9006\u5411\u8ba1\u7b97\u4ee5\u786e\u8ba4 Kh \u662f\u5426\u4e3a\u6700\u7ec8\u724c\u7ec4\u6d17\u724c\u540e\u6536\u5230\u7684\u7b2c\u4e00\u5f20\u724c\uff08\u5728\u6b65\u9aa4 12 \u4e2d\uff09\u3002<\/p>\n\n\n\n \u5982\u679c Hash(Kh + salt3) \u7684\u7ed3\u679c\u662f cc\uff0c\u90a3\u4e48\u73a9\u5bb6\u786e\u8ba4\u6700\u7ec8\u724c\u7ec4\u54c8\u5e0c\u503c cc \u662f\u6b63\u786e\u7684\u3002\u8fd9\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u7528\u4e8e\u9a8c\u8bc1\u684c\u9762\u4e0a\u4efb\u4f55\u5df2\u63ed\u793a\u7684\u5361\u724c\u3002<\/p>\n\n\n\n \u5bf9\u4e8e\u672a\u53d1\u51fa\u7684\u724c\u6216\u5f03\u724c\u624b\u724c\uff0c\u73a9\u5bb6\u5c06\u65e0\u6cd5\u6536\u5230\u5361\u724c\u503c\u6216\u76d0\u503c\u3002\u4ed6\u4eec\u5c06\u80fd\u591f\u8bbf\u95ee\u54c8\u5e0c\u503c\uff0c\u4f46\u65e0\u6cd5\u4f7f\u7528\u6b64\u65b9\u6cd5\u63ed\u793a\u8fd9\u4e9b\u5361\u724c\u3002<\/p>\n\n\n\n \u867d\u7136\u4e0a\u8ff0\u89e3\u91ca\u5bf9\u4e8e\u666e\u901a\u6251\u514b\u73a9\u5bb6\u6765\u8bf4\u5df2\u7ecf\u8db3\u591f\u6df1\u5165\uff0c\u4f46\u5bf9\u4e8e\u52a0\u5bc6\u5b66\u7231\u597d\u8005\u800c\u8a00\uff0c\u8fd9\u4ec5\u4ec5\u662f\u51b0\u5c71\u4e00\u89d2\u3002\u4ee5\u4e0b\u662f GitHub \u4e0a\u5f00\u6e90\u4ee3\u7801\u7684\u94fe\u63a5\uff1aRNG\u5f00\u6e90\u4ee3\u7801<\/a><\/p>\n","protected":false},"excerpt":{"rendered":" \u63a2\u8ba8\u52a0\u5bc6\u54c8\u5e0c\u51fd\u6570\u5982\u4f55\u786e\u4fdd\u6d17\u724c\u8fc7\u7a0b\u7684\u516c\u6b63\u6027\u3002\u901a\u8fc7\u5b66\u4e60\u5982\u4f55\u4f7f\u7528RNG\u9a8c\u8bc1\u5de5\u5177\uff0c\u73a9\u5bb6\u5c06\u80fd\u591f\u9a8c\u8bc1\u81ea\u5df1\u7684\u53c2\u4e0e\u548c\u6d17\u724c\u7ed3\u679c\uff0c\u786e\u4fdd\u6bcf\u4e00\u5c40\u6251\u514b\u6e38\u620f\u90fd\u7b26\u5408\u516c\u5e73\u900f\u660e\u7684\u6807\u51c6\u3002<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"\u8fdb\u9636\u6559\u7a0b\uff1aCoinPoker\u900f\u660e\u6d17\u724c\u6280\u672f\u8be6\u89e3","_seopress_titles_desc":"\u4e86\u89e3CoinPoker\u900f\u660e\u6d17\u724c\u6280\u672f\u7684\u8fdb\u9636\u6559\u7a0b\uff0c\u6df1\u5165\u63a2\u7d22\u52a0\u5bc6\u54c8\u5e0c\u51fd\u6570\u5982\u4f55\u786e\u4fdd\u516c\u5e73\u6d17\u724c\uff0c\u5e76\u5b66\u4e60\u5982\u4f55\u9a8c\u8bc1\u81ea\u5df1\u7684\u53c2\u4e0e\u548c\u6d17\u724c\u7ed3\u679c\u3002","_seopress_robots_index":"","inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9981","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/posts\/9981"}],"collection":[{"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/comments?post=9981"}],"version-history":[{"count":8,"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/posts\/9981\/revisions"}],"predecessor-version":[{"id":62677,"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/posts\/9981\/revisions\/62677"}],"wp:attachment":[{"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/media?parent=9981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/categories?post=9981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coinpoker.com\/cn\/wp-json\/wp\/v2\/tags?post=9981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
\u6b65\u9aa4 1<\/strong><\/h3>\n\n\n\n
\u6b65\u9aa4 2<\/strong><\/h3>\n\n\n\n
\n
\u6b65\u9aa4 3<\/strong><\/h3>\n\n\n\n
\n
\u6b65\u9aa4 4<\/strong><\/h3>\n\n\n\n
\u6b65\u9aa4 5<\/strong><\/h3>\n\n\n\n
\u6b65\u9aa4 6<\/strong><\/h3>\n\n\n\n
\n
\u6b65\u9aa4 7<\/strong><\/h3>\n\n\n\n
\u6b65\u9aa4 8<\/strong><\/h3>\n\n\n\n
\u6b65\u9aa4 9<\/strong><\/h3>\n\n\n\n
\u6b65\u9aa4 10<\/strong><\/h3>\n\n\n\n
\u6b65\u9aa4 11<\/strong><\/h3>\n\n\n\n
\u6b65\u9aa4 12<\/strong><\/h3>\n\n\n\n
\uff08\u54c8\u5e0c\u503c\uff1acc, aa, bb\uff09<\/p>\n\n\n\nRNG \u9a8c\u8bc1\u5de5\u5177\u7684\u5de5\u4f5c\u539f\u7406<\/strong><\/h2>\n\n\n\n
\u6b65\u9aa4 13-18\uff1a\u9a8c\u8bc1\u73a9\u5bb6\u5bf9\u6d17\u724c\u724c\u7ec4\u7684\u5f71\u54cd<\/strong><\/h3>\n\n\n\n
\u6b65\u9aa4 13<\/strong><\/h4>\n\n\n\n
\u6b65\u9aa4 14<\/strong><\/h4>\n\n\n\n
\u6b65\u9aa4 15<\/strong><\/h4>\n\n\n\n
\u6b65\u9aa4 16<\/strong><\/h4>\n\n\n\n
\u6b65\u9aa4 17<\/strong><\/h4>\n\n\n\n
\u6b65\u9aa4 18<\/strong><\/h3>\n\n\n\n