Please note that viewing media is not supported in history for now. Get Mycomarkup source of this revision

G™Cryptographic Rock-Paper-Scissors

A perennial problem on the internet in text chat is that a naively implemented Rock-Paper-Scissors game leads to whoever plays a move first winning, as the winning move given the other player's move is known and fixed. Cryptography solves this: it is possible for each player to commit to a move before revealing it.

Protocol

Each player selects their move and a random salt.