Skip to content

Rahul130405/Secret-Message-Encryptor

Repository files navigation

πŸ” Secret Message Encryptor

Python Groq Tkinter Maintained


🌟 "Bridging Classical Cryptography with LLM-Powered Cryptanalysis"

Built by Rahul Raj Jaiswal, an aspiring software developer passionate about AI integration, full-stack architecture, and building intelligent solutions to real-world problems.


πŸš€ Core Features

  • πŸ› οΈ Custom Encryption: Combines character swapping with an AI-generated substitution map and shift cipher.
  • πŸ€– AI Decrypt Assistant: Integrates with the Groq API (Llama 3.1) to attempt heuristic cryptanalysis on encrypted strings.
  • πŸ’Ύ Key Management: Automatically handles encryption keys and character mapping via secret_key.json.
  • πŸ“± QR Integration: Built-in capability to handle encrypted data via QR codes (under development).
  • 🎨 Modern GUI: A clean, interactive experience powered by tkinter and Pillow.

πŸ’‘ Why This Project Matters

"Securing data through custom algorithmic ciphers while exploring the frontiers of AI-driven cryptanalysis."

In an era of ubiquitous AI, this project demonstrates:

  • AI Integration: Real-world usage of High-inference LLMs for complex pattern recognition.
  • Document Intelligence: Leveraging AI to solve problems where traditional keys are missing.
  • Engineering Rigor: Clean separation of concerns between crypto logic, UI, and AI layers.

πŸ“‚ Project Architecture

GUI/
β”œβ”€β”€ πŸ“„ main.py                # GUI Orchestration & Entry Point
β”œβ”€β”€ 🧠 ai_engine.py           # Groq LLM Integration (Llama 3.1)
β”œβ”€β”€ πŸ” crypto_engine.py       # Core Encryption/Decryption Algorithms
β”œβ”€β”€ πŸ”‘ ai_key_generator.py    # Randomized Key & Map Generation
β”œβ”€β”€ πŸ“ key_storage.py         # Secure Local JSON Persistence
└── πŸ“œ requirements.txt       # Project Dependencies

βš™οΈ Quick Start

1️⃣ Prerequisites

  • Python 3.10+
  • Groq API Key: Set the GROQ_API_KEY environment variable.
    • Windows: $env:GROQ_API_KEY="your_key"
    • Linux/macOS: export GROQ_API_KEY="your_key"

2️⃣ Installation

# Clone the repository
git clone https://github.com/Rahul130405/Secret-Message-Encryptor.git

# Set up Virtual Environment
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate

# Install Dependencies
pip install -r requirements.txt

3️⃣ Run Application

python main.py

πŸ‘¨β€πŸ’» About the Developer

Rahul Raj Jaiswal
Aspiring Software Developer | AI & Full-Stack Enthusiast

LinkedIn GitHub


πŸ›‘οΈ Security Note

This project is a technical demonstration of AI and algorithmic logic. For production-level data security, always use industry-standard encryption libraries like AES-256 (e.g., cryptography.fernet).


Made with ❀️ by Rahul Raj Jaiswal

About

πŸ” AI-powered message encryption tool with custom ciphers and intelligent cryptanalysis using LLMs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages