A minimal Flask web app to decode Caesar cipher messages into plaintext.
CrackCaesar is a lightweight web interface that takes a Caesar-encrypted message and converts it into readable plaintext using brute-force or shift-based logic.
- 🌐 Simple web UI built with Flask
- 🔓 Brute-force Caesar cipher decoding (all 25 shifts)
- ✏️ Optional: Input known shift value (if you know it)
- 📜 Clean, minimal output for readability
- Python 3
- Flask
- HTML/CSS (minimal)
/CrackCaesar/
├── app.py # Main Flask app
├── templates/
│ └── index.html # Web frontend
└── README.md
- Clone the Repo
git clone https://github.com/akash1512485/CrackCaesar
cd CrackCaesar
- Create a Virtual Environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install Dependencies
pip install -r requirements.txt
- Run the App
python app.py
Then open your browser at http://127.0.0.1:5000/
.
- If no shift is provided: the app attempts all 25 possible Caesar shifts and shows all possible plaintexts.
- If a shift is given: it directly decrypts using that shift.
- Detect English words to auto-pick most likely plaintext
- Add dark mode toggle
- Add encryption mode (reverse functionality)
Made with 💻 by Akash Chaudhari