TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The Dining Cryptographers Problem (1988) [pdf]

31 点作者 cyberviewer超过 10 年前

2 条评论

A1kmm超过 10 年前
Lets say that Alice, Bob and Charles play this game.<p>To simplify, let&#x27;s say heads is 1 and tails is 0. Then the scheme can be defined using XOR. r1 represents the value of the coin Alice and Bob can see, r2 represents the value of the coin Alice and Charles can see, and r3 represents the value of the coin Bob and Charles can see.<p>Let x be whether Alice paid, y1 whether Bob paid, and y2 whether Charles paid.<p>Let * denote XOR. Alice computes v1 = r1 * x * r2, Bob computes v2 = r1 * y1 * r3, and Charles computes v3 = r2 * y2 * r3. They all then compute v1 * v2 * v3 which is equal to x * y1 * y2. Since they each know one variable, (e.g. x for Alice), they can compute y1 * y2. Since they assume only one person paid, if y1 * y2 = 1, Alice knows either Bob or Charles paid.<p>The scheme is insecure if Alice wants to go against the protocol and tell Bob and Charles a different v1 (v1_1 for Bob and v1_2 for Charles), and Bob and Charles will announce the result.<p>Lets say Alice works for the NSA, and already knows that x = 0 (she didn&#x27;t pay), and y1 * y2 = 0 (her employer didn&#x27;t pay), but she wants to find out if y1 = 1 or y2 = 1.<p>She tells Bob v1_1 = r1 * 0 * r2. She tells Charles v1_2 = r1 * 1 * r2. Bob computes and announces v1_1 * v2 * v3 * y1 = r1 * 0 * r2 * r1 * y1 * r3 * r2 * y2 * r3 * y1 = y2. Charles computes and announces v1_2 * v2 * v3 * y2 = 1 * y1 = y3.
评论 #8593051 未加载
评论 #8592782 未加载
guruparan18超过 10 年前
And here a Youtube video to help visualize this protocol and more. <a href="https://www.youtube.com/watch?v=4BQQcoROQoI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=4BQQcoROQoI</a>