Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 693 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 693 Bytes

PythonDH

Prerequisites

For this software to run the pycrypto library is required. To install with pip run pip install pycrypto.

Key exchange

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.

Message passing

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.