A secure web application for sharing encrypted text messages. Users can encrypt text with a password and share the generated ID. Recipients can decrypt the message using the ID and password.
- Secure Text Sharing: Encrypt messages with password-based encryption
- Simple Interface: Clean, easy-to-use web interface
- No Persistence: Data stored in memory only, cleared on server restart
- Client-side Encryption: Text is encrypted before transmission
- Password Protection: Messages can only be decrypted with the correct password
-
Backend:
- Python 3.x
- Flask (Web Framework)
- cryptography (Encryption Library)
-
Frontend:
- HTML5
- CSS3
- Vanilla JavaScript
-
Clone the repository:
git clone https://github.com/Priyanka959/encryption-tool.git cd encryption-tool -
Create a virtual environment and activate it:
python -m venv .venv # On Windows: .venv\Scripts\activate # On Unix/MacOS: source .venv/bin/activate
-
Install dependencies:
pip install -r encrypted_clipboard/requirements.txt
-
Start the Flask server:
# From the project root: python -m encrypted_clipboard.backend.app -
Open your browser and navigate to:
http://localhost:5000
- Enter your text in the "Text to Send" field
- Enter a secure password
- Click "Send"
- Copy the generated Clipboard ID
- Enter the Clipboard ID
- Enter the password
- Click "Receive"
- The decrypted message will be displayed
- Messages are encrypted using Fernet (symmetric encryption)
- Passwords are used to derive encryption keys
- Data is stored in memory only and cleared when the server restarts
- Use strong, unique passwords for each message
- The server never stores the original password
- Messages are encrypted before transmission
The project structure:
encrypted_clipboard/
├── README.md
├── requirements.txt
├── backend/
│ ├── app.py # Flask application
│ ├── crypto_utils.py # Encryption utilities
│ └── storage.py # In-memory storage
└── frontend/
├── index.html
├── script.js
└── style.css
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is open source and available under the MIT License.