Install Python 3.5 / 3.6 https://www.python.org/downloads/
Have a virtual environment
Follow the instructions: https://gist.github.com/Geoyi/d9fab4f609e9f75941946be45000632b
Install flask web app
Run the following command when your virtual environment is activated
pip install -r requirements.txt
Install an IDE for easy running https://www.jetbrains.com/pycharm/download/?utm_source=product&utm_medium=link&utm_campaign=PY&utm_content=2018.2#section=linux
You can run the web-app or the py-app(python app)
For the web app:
- Visit the web application file i.e. web-app.py
- Right click the file and click on run.
- open the browser and visit the link: http://127.0.0.1:5000/_**``**_
- The binary value is displayed on the screen
For the pure-python app:
- Visit the web application file i.e. py-app.py
- Right click the file and click on run.
- The file auto-generates a random number to encrypt, no input needed
- The results will be displayed in the python console.