Skip to content

sanjana2k7/SecureCrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” SecureCrypt – Secure File Vault

A production-quality cybersecurity web application built with Python Flask.

Features

  • AES-256-CBC file encryption/decryption (PBKDF2 key derivation)
  • RSA-2048/4096 key generation, text encryption, text decryption
  • Hash Generator – MD5, SHA-1, SHA-256, SHA-512
  • Password Security – bcrypt hashing, strength meter, secure generator
  • Digital Signature – RSA-PSS sign & verify
  • File Integrity Checker – SHA-256 tamper detection
  • Encryption History – SQLite audit trail with search
  • Reports – PDF (ReportLab) and CSV export
  • Modern dark glassmorphism UI with responsive sidebar

Quick Start

cd SecureCrypt
python -m venv venv
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate

pip install -r requirements.txt
python app.py

Open: http://127.0.0.1:5000

Project Structure

SecureCrypt/
β”œβ”€β”€ app.py              # Flask entry point
β”œβ”€β”€ config.py           # Configuration
β”œβ”€β”€ database.py         # SQLite helpers
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ dashboard.py
β”‚   β”œβ”€β”€ aes_routes.py
β”‚   β”œβ”€β”€ rsa_routes.py
β”‚   └── other_routes.py
β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ aes_service.py
β”‚   β”œβ”€β”€ rsa_service.py
β”‚   β”œβ”€β”€ hash_service.py
β”‚   β”œβ”€β”€ password_service.py
β”‚   └── report_service.py
β”œβ”€β”€ templates/          # Jinja2 HTML templates
β”œβ”€β”€ static/
β”‚   β”œβ”€β”€ css/style.css
β”‚   └── js/main.js
└── uploads/ encrypted/ decrypted/ keys/ reports/

Security Design

  • AES-256-CBC with PBKDF2-HMAC-SHA256 (310K iterations) per NIST SP 800-132
  • RSA-OAEP-SHA256 for asymmetric encryption
  • RSA-PSS-SHA256 for digital signatures
  • bcrypt (work factor 12) for password storage
  • Path traversal prevention via werkzeug.utils.secure_filename
  • Input validation on all endpoints
  • No plaintext passwords stored anywhere

About

πŸ” A production-quality Secure File Vault built with Python Flask β€” AES-256 encryption, RSA, bcrypt password hashing, digital signatures, file integrity checker & PDF reports. Modern dark glassmorphism UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors