A Java command-line password management system that lets a user:
- Log in using a master password
- Generate strong passwords
- Add / update / delete stored credentials
- Display saved passwords
- Show “unsafe” passwords by comparing stored passwords against
hackedPassword.txt - Create / view / delete memos stored in
Memo.txt
- Password generator (includes letters, digits, and symbols)
- Password validation (length + digit count + special characters + uppercase + lowercase)
- File persistence:
passwordDB.txtfor saved passwordsMemo.txtfor memoshackedPassword.txtfor unsafe-password comparison
PMS/src/Main.java— application entry point (login + main menu)PMS/src/PasswordManagement.java— linked-list based CRUD for passwords + persistence topasswordDB.txtPMS/src/MemoManagement.java— memo list + persistence toMemo.txtPMS/src/PasswordGenerator.java— password generation logicPMS/src/NodePassword.java— node structure for the password linked list
From the repository root:
cd d:/Password-Management-System-main
java -cp PMS/out/production/PMS Maincd d:/Password-Management-System-main
javac PMS/src/*.java
java -cp PMS/src MainNote: Using
PMS/out/production/PMSis the most reliable with the current project state.
In PMS/src/Main.java, the login check is hardcoded as:
- master password:
admin
After login, the program shows:
[1] Generate Password[2] Update Password[3] Delete Password[4] Saved Passwords[5] Unsafe Passwords list[6] Create Memo[7] Delete Memo[8] View Memos[0] Exit System
Ensure these files exist in the working directory (d:/Password-Management-System-) when running:
passwordDB.txtMemo.txthackedPassword.txt
If they are missing, the app may print messages like “File not found”.
- The memo loader prints
Memo File Not Found !ifMemo.txtis missing. - Input handling in
Main.javamixes multipleScannerinstances; depending on the runtime inputs, it may throwNoSuchElementException.