BR
Brahamanbtp/FortiCryptX
A secure, intelligent, and modular hybrid encryption framework with key management, anomaly detection, blockchain audit logging, and Colab-based UI.
π FortiCryptX-Colab
Secure, Intelligent & Modular File Encryption with Post-Quantum Simulation and Cloud Integration
FortiCryptX is an advanced hybrid cryptographic framework built for Google Colab environments. It integrates AES + RSA encryption, post-quantum simulation, ML-based anomaly detection, blockchain audit logging, and Google Drive supportβall wrapped in a modular, user-friendly design.
π Features
- π Hybrid Encryption β AES for data, RSA for key wrapping
- 𧬠Post-Quantum Simulation β Simulated Kyber/Dilithium-based key exchange
- π Key Management β Generation, rotation, ML-based expiry prediction
- π‘οΈ Tamper Detection β SHA-256 hashing and integrity verification
- 𧨠Secure File Shredding β Multi-pass data overwrite before deletion
- π Google Drive Sync β File I/O with persistent cloud storage
- π Entropy & Anomaly Detection β ML for detecting suspicious patterns
- π Auditing β JSON logs, PDF/Markdown reports, optional blockchain anchoring
- π₯ Simulated Multi-User β Admin/Viewer roles, challenge-response login
- π Colab-Friendly β Interactive UI via
ipywidgetsorGradio
π§ System Architecture
- Encryption Stack: AES-GCM (Symmetric) + RSA-2048 (Asymmetric)
- PQ Simulation: Hybrid with simulated Kyber + RSA fallback
- Logging: JSON action logs, blockchain-compatible hashes
- Audit Tools: Auto-generated reports, visualization features
π Project Structure
| Directory | Description |
|---|---|
crypto_engine/ |
Core encryption modules: AES, RSA, ECIES, PBE, entropy tools |
key_management/ |
Key generation, ML-based rotation, auditing |
security_tools/ |
Integrity check, tamper detection, secure deletion |
cloud_integration/ |
Google Drive picker & persistent file sync |
ui/ |
Gradio / ipywidgets interface components |
audit_logger/ |
Logging, reporting, optional blockchain anchoring |
pq_simulation/ |
Kyber/Dilithium key exchange simulation layer |
benchmarking/ |
Performance metrics, threat models |
main.ipynb |
Entry point notebook for Google Colab |
requirements.txt |
Python dependency list |
π Performance Metrics
| Feature | Performance |
|---|---|
| AES-RSA Encryption | 20β40 ms |
| Entropy Check | < 10 ms |
| Key Rotation | Timed / On-demand |
| PQ Simulation Overhead | ~100 ms |
| File Upload/Drive Sync | Instant (via UI) |
| Log Export (PDF/CSV) | < 500 ms |
π Security Highlights
- Hybrid encryption (AES-GCM + RSA-2048)
- Simulated post-quantum cryptography
- Secure hashing (SHA-256) and tamper detection
- Ephemeral key sessions and challenge-based access
- Blockchain-compatible logs
- Multi-pass secure file shredding
π§© Applications
- π₯ Healthcare β Encrypt EMRs with audit capability
- ποΈ Government β Tamper-proof secure storage
- βοΈ Cloud & Education β Lightweight Colab-based encryption
- π οΈ Research β PQ crypto benchmarking, anomaly modeling
- π Finance β Secure, loggable transaction payloads
π‘ Future Work
- π§ AI-powered smart key rotation
- π Full PQC implementation (Kyber/Dilithium libraries)
- βοΈ Blockchain audit trail with Ethereum/Polygon
- πΈοΈ Federated key exchange & group encryption
- π₯ RBAC (Role-Based Access Control)
- π TPM/HSM support in-browser and in Colab
π Requirements
- Python 3.7+
- Google Colab or Jupyter Notebook
- Dependencies:
cryptography,pycryptodome,ipywidgets,matplotlib,reportlab,gradio
pip install -r requirements.txtπ License
This project is governed by a restricted academic license.
See LICENSE.md for complete terms and usage restrictions.
Made with π by Pranay Sharma
π§ pranay.sharma2022@vitstudent.ac.in
On this page
Languages
Jupyter Notebook70.9%Python24.6%HTML4.4%
Contributors
Other
Created May 25, 2025
Updated June 7, 2025
