Two-party computation is really amazing. If anybody here is interested in a more "do-it-yourself" approach to garbled circuits, I described an open-source, Python-in/Garbled-Verilog-out toolchain on my GitHub.
The example shows that you can play a game or Rock-Paper-Scissors-Lizard-Spock over the 'net and know if you have won without telling the opponent your move. (And without a trusted 3rd party, of course)
The example shows that you can play a game or Rock-Paper-Scissors-Lizard-Spock over the 'net and know if you have won without telling the opponent your move. (And without a trusted 3rd party, of course)
https://github.com/lou1306/gssi/tree/master/2pc