Coin flipping
Alice and Bob want to flip a coin (by telephone in Manuel Blum's 1981 paper) to decide who wins (in Blum's paper, who gets the car after a divorce).
Actually, each one flips a coin and if the came out equal (two heada or two tails) Bob wins.
How can this be done fairly and withou cheating when the two are far apart?.
Using computers: square roots of quadratic residues!
One of the two, say Bob, selects two large random primes and of the form (Blum primes!) and then computes . He then sends to Alice.
Alice chooses a random and sends to Bob.
Bob computes the 4 square roots and of , chooses one of them, let us call it , and sends it to Alice.
Alice checks if . If so, then Bob wins. If not, he loses.
Alice proves her claim by disclosing . (Observe that if Alice does not like the outcome she may simply do not finish the execution of this protocol, but that would be cheating)
To flip coins, do step 2. times, then step 3. times and so on. It has to be done in this way because as soon as Alice receives the square roots from Bob she will likely be able to factor (and so be able to change her choice of the ).
Last updated