To start the encryption tool, click on the file named "start_encoder_gui" in Windows, or from Dos Shell which is connected to the directory where you've installed the program, type:
start_encoder_gui.py(In Windows you may need to type plain "start_encoder_gui"; try both if the first doesnt't work).
Screen shot of start up state. Default encoding mode
is "vigenere".
To switch to shift cipher mode,
click on "Mode" at the top and select "Shift":
Type a plain text of interest into the plain text line
Type a valid shift key into the key line.
To encrypt a message once you have chosen a key,
you use the "C" (for Cipher key). Just click
on it and the encryption of the current plain text
appears in the Cipher text line.
In this example, I've encoded the plain text "attack at dawn" using the key "shift-4".
If you have chosen a key value that is too
large, the encoder will warn you
that it has done a conversion when you try to encode,
... and go ahead and encode:
In this example I've encoded the plain text "Enter plain text here" using the key "shift-27", which is equivalent to "shift-1".
A nice property of many cipher systems is that if
know two of the three parameters of the system, you
can compute the third. Thus if you know plain
text and cipher, you can compute the key. Here we're in a state in which the
K line is cleared. Pressing the "K" button ...
... computes the key.
You can clear any of the 3 input lines by clicking on the screw head button to its left.
You can encrypt and verify encryption with the following steps:
You can also load and save plain text, cipher, and keys
using the File Menu at the upper left.