diff --git a/cryptographic_rock-paper-scissors.myco b/cryptographic_rock-paper-scissors.myco index c5a00fc..cafce7c 100644 --- a/cryptographic_rock-paper-scissors.myco +++ b/cryptographic_rock-paper-scissors.myco @@ -2,4 +2,4 @@ A perennial problem on the internet in text chat is that a naively implemented R == Protocol -Each player selects their move and a random salt. They then transmit the hash of the move and salt to the other player. Once both players have received the other's hash, both reveal their move and salt. \ No newline at end of file +Each player selects their move and a random salt. They then transmit the hash of the move and salt to the other player. Once both players have received the other's hash, both reveal their move and salt. As long as it is impractical to generate hash collisions and the salts are sufficiently high-entropy, the hash constrains each player such that they cannot choose another one but does not reveal the move they made. \ No newline at end of file