Cipher Vault is a simple, lightweight Python command-line password manager that stores passwords in XOR-encrypted form.
It allows you to add, update, delete, list, and securely access passwords saved for different websites.
Passwords are never stored in plain text β they are encrypted and can only be decrypted using your PIN.
- π Secure XOR-based encryption
- π Store website name, username, and encrypted password
- β Add new passwords
- βοΈ Update existing passwords
- β Delete saved passwords
- π View/decrypt password (PIN required)
- π Auto-creates & manages
password_manager.txtJSON file - π§ Simple, easy-to-understand reversible encryption
- π₯ Fully terminal-based CLI app
Cipher Vault uses a reversible XOR cipher: encrypted_value = ord(character) ^ key original_character = chr(encrypted_value ^ key)
key = 123- Each character of the password is encrypted to a number
- Only someone with the correct PIN (6969) can decrypt it
This technique is lightweight and perfect for learning basic cryptography.
cipher-vault/ β βββ cipher_vault.py # Main project code βββ password_manager.txt # JSON file storing encrypted passwords βββ README.md # Project documentation
- Install Python (3.x)
- Download or clone this repository
- Open a terminal in the project directory
- Run: python cipher_vault.py
- Use menu options (1β6) to manage your passwords.
- List all saved website passwords
- Add a new password
- Update an existing password
- Delete a password
- Access (View) a password β requires PIN
- Exit the program
[
{
"website": "google.com",
"username": "bhushan",
"password": [171, 85, 90]
}
]
**password is stored in encrypted integer form β never as plain text.
π¨βπ» Author
Bhushan Bhutada
Python beginner exploring encryption techniques and building practical CLI tools.
**