https://github.com/jai2dev/secure-transfer
A cloud based application for secure transfer of text files using diffie hellman and AES algorithm (Cyber Security)
https://github.com/jai2dev/secure-transfer
aes-encryption aws cloud diffie-hellman flask html-css-javascript python
Last synced: about 1 year ago
JSON representation
A cloud based application for secure transfer of text files using diffie hellman and AES algorithm (Cyber Security)
- Host: GitHub
- URL: https://github.com/jai2dev/secure-transfer
- Owner: jai2dev
- Created: 2021-04-07T11:12:33.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-23T17:38:23.000Z (over 2 years ago)
- Last Synced: 2025-03-30T18:13:41.255Z (about 1 year ago)
- Topics: aes-encryption, aws, cloud, diffie-hellman, flask, html-css-javascript, python
- Language: Python
- Homepage: https://secure-transfer.herokuapp.com/
- Size: 2.95 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# secure-transfer
#### Note: The Deployed link will not work due to the scrapping of free tier heroku, please check back later for update.
## A cloud based application for secure transfer of text files using diffie hellman and AES algorithm
## Code Explanation
The implementation can be explained in two parts
* Main application (Cloud)
* stand-alone-application
### stand-alone-application
* Using the standalone app the user can encrypt or decrypt the file.
* The file is encrypted using AES algorithm.
* *Menu* option also helps to navigate through the menu to upload and download files
**/stand-alone-application/DH.py**: This file deals with generating keys using diffie-hellman. It generates three keys: Private Key, Public Key, Secret Key (used for encryption and decryption)
**/stand-alone-application/ENCDEC.py**: This file is used for encoding and decoding using AES algorithm.
**/stand-alone-application/secure.py**: This file acts as a mediator and connect the main program with other code files.
**/stand-alone-application/main.py**: This file deals with the GUI.
#### How to run the standalone app?
1) First install all the required packages from the requirement.txt file.
2) Open a terminal, and type python3 main.py in stand-alone-application. Use this file to generate encoded file and decode the file.
### web-application
Once file is encrypted it has to be uploaded on an online directory. Another directory is needed where public-key of all the users is stored.
**/app.py** Contains the website in **python-flask** which acts like a directory.
### Note: For deployement related purpose, check out how to deploy a flask app. All the required files are provided already.