Skip to content

About

SecureVault AI – Intelligent File Encryption & Integrity Checker

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SecureVault AI – Intelligent File Encryption & Integrity Checker

SecureVault AI is a privacy-first cybersecurity web application for encrypting text files, decrypting authenticated SecureVault packages, generating SHA-256 file fingerprints, and receiving explainable security guidance. Every cryptographic operation runs locally in the browser—files and passwords are never uploaded.

Built as a Cyber Security Capstone Project suitable for a Lenovo LEAP internship submission.

Features

  • AES-256-GCM authenticated file encryption using the Web Crypto API
  • PBKDF2-SHA-256 key derivation with 250,000 iterations and a random salt
  • Secure decryption with wrong-password and tamper detection
  • Animated password-strength meter with actionable suggestions
  • SHA-256 hash generator for any file type
  • File metadata display: name, size, type, and last modified date
  • Live security score based on password strength, file size, and encryption status
  • Explainable, local AI-style security advisor (no remote model or data transfer)
  • Device-local activity history using localStorage
  • Responsive glassmorphism interface, dark theme, animation, and accessible labels
  • Frontend-only contact form with client-side validation

Technologies Used

CryptoJS is intentionally not used: modern browser-native Web Crypto provides authenticated AES-GCM, cryptographically secure randomness, and SHA-256 without an extra cryptography dependency.

Installation

  1. Clone or download this repository.

  2. Open the project directory:

    cd SecureVault-AI
  3. Serve the directory from a local web server:

    python -m http.server 8080
  4. Open http://localhost:8080 in a current version of Chrome, Edge, Firefox, or Safari.

No build step, package installation, backend, database, or API key is required. An internet connection is needed for the Bootstrap, Font Awesome, and Google Fonts CDN assets. For deployment, GitHub Pages works without configuration.

Usage

  1. On Encrypt, select a plain-text file and enter a strong password.
  2. Download the generated .svault package and store the password separately.
  3. On Decrypt, select that package and enter the same password.
  4. On Hash, choose any file to generate and copy its SHA-256 digest.

Passwords cannot be recovered. This educational project should be independently reviewed before protecting high-value production data.

Security Design

Each encryption creates a random 128-bit salt and 96-bit IV. PBKDF2 derives a 256-bit key from the password, then AES-GCM encrypts and authenticates the file. The .svault JSON container stores the ciphertext, non-secret derivation parameters, and original metadata. GCM authentication causes decryption to fail when either the password is wrong or the ciphertext was modified.

The activity log stores only action labels, filenames, and timestamps on the current device. It never stores passwords, keys, plaintext, ciphertext, or hashes.

Screenshots

Screenshots can be stored in the screenshots/ directory:

  • home-desktop.png
  • encrypt-desktop.png
  • mobile.png

Project Structure

SecureVault-AI/
├── index.html
├── encrypt.html
├── decrypt.html
├── hash.html
├── about.html
├── contact.html
├── css/style.css
├── js/
│   ├── app.js
│   ├── encrypt.js
│   ├── decrypt.js
│   ├── hash.js
│   └── password.js
├── assets/
│   ├── images/
│   └── icons/
├── screenshots/
├── README.md
├── LICENSE
└── .gitignore

Future Scope

  • Streaming encryption for files larger than available browser memory
  • Optional passkey and hardware-backed key support
  • Password-protected metadata and authenticated additional data
  • Installable Progressive Web App with vendored offline assets
  • Batch encryption and directory workflows
  • Signed hash manifests for chain-of-custody use cases
  • Independent security audit and cross-browser test automation

About

SecureVault AI – Intelligent File Encryption & Integrity Checker

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages