Somehow playing a variant of tetris explains public key crypto.
Somehow playing a variant of tetris explains public key crypto.
http://images.math.cnrs.fr/Cryptris-1-2-Comprendre-une-des.h...
and
The idea of the game seems to be to show people that public-key cryptography exists and can work, yet the actual method of creating the public and private keys (and the fact that the public key can be created easily given the private key and not vice versa) won't be especially obvious.
After 24h hours the game is already a success. I will for sure put a lot of effort in getting the game translated !
In that sense the public key is a "mix" of the private key. Then the cipher is the message plus a "mix" of the public key. By transitivity the cipher is the message plus a "mix" of the private key; and the private key is simple enough so that it can be "unmixed"...
In the dialogs, we first explain to the player that we need to create him a username, a private key and a public one. Now the player gets too chose his username, and right after that we generate a random private key (well not exactly random, in fact we randomize a pre-generated private key so we can be sure of it's properties, otherwise the player could get hard times decrypting).
Once the private key is generated, we get the player to create his public key through scrambling and mixing the private key.
During the normal game, we add an extra check to make sure the private/public keys matches the ideal properties we need for our demonstration: we want the player to play with a simple public key and the AI to play with a strong (kind of) public key, in the game this translates to one column significantly 'bigger' than the others for the private key and more than one 'big' columns for the public key.
We only constrain the public key during the game's story mode, in arcade one can chose to create a 'weaker' public key ("Arcade" > "création des clés"), then let him play the arcade boards with it.
Additionally, we allow the player to chose who plays with what, so both the player and the AI can play with private/public keys.
So I really think all the building blocks are already in the game + arcade mode. But we need to admit that most people just skip dialogs, no matter what.
Oh, well let's just keep on iterating :)