CLI-based password manager in C++. Stores and retrieves credentials from a vault encrypted using XOR with a user-provided key.
- CLI menu interface
- Store/retrieve credentials
- Password generation
- Vault encryption/decryption using XOR with a user key
XOR is not secure cryptography. This project is for learning file handling + basic encryption concepts.
g++ -std=c++17 -O2 -o password_manager src/password_manager.cpp
./password_managerpassword-manager-xor-cpp/
├── src/ # C++ source files
├── data/
│ └── sample_vault.txt # Example encrypted vault (fake data)
└── README.md
- Replace XOR with AES-GCM for real encryption
- Add key derivation (PBKDF2 / Argon2)
- Add integrity checks for the vault
- Add unit tests
- Add better error handling and input validation