GitHunt
BR

Brahamanbtp/FortiCryptX

A secure, intelligent, and modular hybrid encryption framework with key management, anomaly detection, blockchain audit logging, and Colab-based UI.

Workflow_Diagram

πŸ” 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 ipywidgets or Gradio

🧠 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

Brahamanbtp/FortiCryptX | GitHunt