Coin tossing protocol (idea)
Return to Coin tossing protocol (idea)
| Alice and Bob are talking on the phone. They want to play a game. One of them tosses a coin. Alice wins if it's heads, Bob if it's tails. The problem that arises is that the one who tosses the coin might be tempted to lie about the result in his/her own favour. This is a situation we have all experienced, isn't it? Luckily number theory has given us a way to replace mutual trust by computers. First we need to establish a few results. If p = 4p' + 3 is a prime then it is easy to solve the congruece x2 = a (mod p). For assume that there is such an x. Then (using that x4p'+2 = 1 (mod p) by Euler's theorem)
(±ap'+1)2 = x4p'+4 = x2 = a (mod p)
so the solutions are ±ap'+1.
/ x2 = a (mod p)
which has four solutions ±s, ±t according to the Chinese remainder theorem.
Now we can describe the protocol. | Existing:
Non-Existing: |