A simple Password Manager built in Java using HashMap, OOP, and a basic encryption mechanism. This project allows you to securely store, update, and retrieve passwords for different services via a console interface. π§** Technologies & Concepts Used** Java
HashMap (for storing credentials)
Object-Oriented Programming (OOP)
Console-based User Interface
Caesar Cipher-style Encryption (basic)
File Handling (coming soon!)
π Features β Add Credential (service name + password) β View Stored Password β Update Password β Delete Credential β List All Services β Encrypt Passwords Internally (Bonus)
π How It Works All passwords are stored in an encrypted format internally using a simple Caesar Cipher logic (character shifting), and are decrypted when viewed by the user. This mimics a real-world password managerβs behavior, although it uses basic logic for learning purposes. PasswordManager/ βββ PasswordManager.java # Main logic (add, get, update, remove, list) βββ Main.java # Menu-driven CLI interface βββ passwords.txt (optional) # (To be added for file saving) π₯ How to Run Open Command Prompt and navigate to your folder: Compile the program: javac *.java Run the program: java Main π§ͺ Sample Menu --- MENU ---
- Add Credential
- View Credential
- Update Credential
- Remove Credential
- List All Services
- Exit π§ Concepts Demonstrated Secure storage using encryption
HashMap for constant-time lookup
String manipulation
Encapsulation using OOP
Console-driven interaction with input validation
π¦ Future Features Save credentials to file (passwords.txt)
Load credentials on startup
Stronger encryption (e.g., AES)
GUI interface using Java Swing
Master password authentication