Author : Harsh Pathak
Roll Number : 14115036
Institute : NITRR
All rights reserved to the Author
Instuctor : Mohd. Rizwan Rawani
Language used : Python
Build instructions
LINUX
Chances are your Distro already came with Python2
Cross check by opening terminal and typing python and hit enter
1) Installing python if not already on your system
For debain based distros (Ubuntu and mint) you can easily install Python 2 with the following commands:
$ sudo apt-get update
$ sudo apt-get install python2.7
MAKE SURE YOU RUN THESE 2 Commands (FOR INSTALLING PIP AND PYCRYPTO)
$ sudo apt install python-pip
$ pip install pycrypto
2)Checking that python was successfully installed
To cross check if Python was successfully installed Open your terminal and enter
$ python
and it will show you the version and other details.
3) Running the project
3a) Download the project and unzip it
3b)Open 2 terminals , first one for the Server.py and second one for Client.py
3c)change the directory to where your have unzipped the project in both the terminals
INTERPRETING THE SCRIPTS
Terminal_One $ python Server.py
Terminal_two $ python Client.py
WINDOWS
1)DOWNLOAD AND INSTALL PYTHON 2.7
2)SETUP THE PATH VARIABLE
Open Control Panel, then System
Click 'Advanced system settings' on the left
Click the 'Environment Variables' button
Just add C:\Python27;
3)DOWNLOAD AND INSTALL PIP
NOTE : To use pip you must add the C:\Python27\Scripts; into your path variables.
To cross check if the installation was sucessful , Open CMD and type pip and hit enter.
4) INSTALLING PYCRPTO LIBRARY
cmd Terminal >pip install pyCrypto
Just in case it doesnt work type you can try
cmd Terminal > pip install pycryptodome
5)CHANGE DIRECTORY TO WHERE YOU SCRIPT IS
6)OPEN CMD AND TYPE
C:\Desktop > python Server.py
C:\Desktop > python Client.py
REASON FOR CHOOSING THIS TOPIC AND LANGUAGE
I like cryptography ; did my intership in crypto and now doing my minor project on cloud based encryption and so this topic was my first choice. Python is easy to use , quick, and my project uses libraries supported by both linux and windows and hence its platform independent. Its not at all verbose like Java and comes with lot of functionalities and features.