Skip to content

marijhashmi/Text-encryption-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔐 Web-Based Text Encryption Tool

A Flask-based web application that allows users to encrypt and decrypt text using multiple algorithms, including Caesar Cipher, AES, and base64. The app provides a simple and secure interface for testing encryption techniques.


🚀 Features

  • Encrypt and decrypt plain text using selected algorithms.
  • Supports Caesar Cipher, AES, and base64.
  • Option to copy ciphertext easily.
  • Basic input validation (no empty inputs, must select algorithm).
  • Built with a responsive UI for easy use.
  • Secure message handling using Flask backend.

🧩 Tech Stack

Frontend: HTML, CSS, JavaScript Backend: Python (Flask) Database: SQLite (Flask SQLAlchemy) Encryption Library: PyCryptodome


⚙️ Installation & Setup

1. Clone the Repository

git clone https://github.com/yourusername/web-encryption-tool.git
cd web-encryption-tool

2. Create a Virtual Environment

python -m venv .venv

3. Activate the Environment

  • Windows

    .venv\Scripts\activate
  • Mac/Linux

    source .venv/bin/activate

4. Install Dependencies

pip install -r requirements.txt

5. Run the Application

python backend/app.py

Then open your browser and visit:

http://127.0.0.1:5000

🔒 Encryption Algorithms Implemented

Algorithm Description Supports Decryption
Caesar Cipher Shifts each character by a fixed key ✅ Yes
AES (Advanced Encryption Standard) Symmetric encryption using a secret key ✅ Yes
base64 Encodes text to ASCII format ✅ Yes

🧑‍💻 Author

Muhammad Marij Younas 📍 Lahore, Pakistan 📧 marijhashmi777@gmail.com 🔗 LinkedIn 🔗 GitHub

About

A Flask and React-based web application for text encryption and decryption using SHA-256 hashing. Supports secure message handling with a clean, responsive UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors