Next-Gen AI-Powered Adaptive Encryption Communication System
SecureNet AI is a cutting-edge, real-time secure communication platform that dynamically adapts its security posture based on message sensitivity and live network threats. Designed for the 3rd Year Cryptography & Network Security project, it demonstrates the convergence of Symmetric Ciphers, Asymmetric Cryptography, and Intelligent Threat Detection.
- 🧠 Adaptive Encryption Engine: Automatically scales from AES-128 to a Hybrid RSA+AES-256 architecture based on keyword analysis.
- 🛡️ Threat Simulator & Lab: Live-simulate DoS, IP Spoofing, and Replay Attacks with real-time detection alerts.
- 💎 Premium Dashboard: A glassmorphic, modern UI with real-time packet visualization and live security audit logs.
- 📦 Academic Comparison: In-built modules for comparing cryptographic protocols (ECC vs RSA vs AES).
The system operates on a 3-level security logic, ensuring the perfect balance between performance and protection.
| Level | Mode | Cryptographic Stack | Core Logic |
|---|---|---|---|
| L1 | Standard | AES-128 (CBC) + SHA-256 |
Static session keys for high-speed bulk data. |
| L2 | Enhanced | AES-256 + HMAC + RSA Signatures |
Robust integrity checks with message authentication. |
| L3 | Military | Hybrid RSA-wrapped AES-256 + SHA-512 |
Ephemeral message keys protected by RSA envelopes. |
graph TD
A[User Interface] -->|Send Message| B[AI Engine]
B -->|Scan Keywords| C{Threat Detection}
C -->|Normal| D[Level 1: AES-128]
C -->|Secret| E[Level 3: Hybrid RSA+AES]
D --> F[Database Logger]
E --> F
F -->|Live Update| G[Security Dashboard]
Get started in seconds with these simple steps:
-
Clone & Navigate
cd adaptive_encryption_system -
Install Dependencies
pip install -r requirements.txt
-
Launch the Engine
python app.py
-
Access the Dashboard Open your browser and visit
http://localhost:5000to start the secure simulation.
Simulate real-world attacks and watch the system adapt in real-time.
- DoS Detector: Monitors packet frequency in a 5s sliding window.
- Spoof Detector: Cross-references sender IDs with registered hardware IPs.
- Replay Guard: Uses cryptographic nonces and timestamp freshness checks.
- Encryption: AES-CBC-256, RSA-OAEP-2048.
- Signatures: RSA-PSS with SHA-256.
- Parameter Exchange: Diffie-Hellman (RFC 3526 Group 5 simulation).
- Backend: Flask with SQLite persistent audit logging.
Made with ❤️ for the Cryptography & Network Security Project
Aurora Deemed to be University

