Skip to content

4ykh4nCyb3r/Secure-Password-Vault

Repository files navigation

🔐 Password Vault Manager

A simple GUI-based password vault that securely stores passwords, checks their strength, and prevents password reuse. It uses AES encryption to store passwords safely in a vault file.

📌 Features

  • Secure Password Storage using AES encryption
  • Password Strength Analysis (checks length, complexity, and common patterns)
  • Password Reuse Detection
  • Master Password Authentication
  • Load and Save Password Vault

📂 Project Structure

📦 PasswordVaultManager
 ┣ 📜 Main.java                  # Entry point for the application
 ┣ 📜 PasswordAnalyzer.java       # Password strength & reuse checker
 ┣ 📜 PasswordEntry.java          # Password storage object
 ┣ 📜 PasswordManager.java        # Manages password list and storage
 ┣ 📜 PasswordVaultGUI.java       # GUI interface
 ┣ 📜 VaultSerializer.java        # Encryption & file handling
 ┗ 📜 README.md                   # Project documentation

🚀 How to Run the Project

1️⃣ Compile the Project

Run the following command in the terminal:

javac Main.java PasswordAnalyzer.java PasswordEntry.java PasswordManager.java PasswordVaultGUI.java VaultSerializer.java

2️⃣ Run the Application

java Main

🔑 Usage Guide

  1. Enter the Master Password
    • Default: defaultMasterPassword
  2. Use the GUI to Add New Passwords
    • Click "Add Password"
    • Enter Site, Username, and Password
    • The system will analyze password strength automatically.
  3. Save or Load Vault
    • Use the "File" menu to save/load passwords securely.

🔒 Security Details

  • AES Encryption (128-bit)
    • Encrypts stored passwords before saving them to vault.ser
  • Automatic Password Strength Check
    • Scores passwords 0-10 (Weak, Moderate, Strong)
    • Flags common & weak passwords (e.g., "password123")
  • Prevents Password Reuse
    • Warns if the password was used before

🛠 Future Improvements

Enhance password strength scoring
Support hashed master passwords
Add password visibility toggle
Store vault in a database instead of a file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages