For this software to run the pycrypto library is required. To install with pip run pip install pycrypto
.
Run python generate.py <name>
where <name>
is the nickname of the other person and send them the output. Paste the number provided by them into the console.
Run python encryption_shell
and select the person you're chatting with.
Enter e
to encrypt a message. Write the message as normal and then hit enter. Copy the output and send it to the other person.
Enter d
to decrypt a messge. Paste the ciphertext recieved over chat. The decrypted message should display in the terminal.