Password Manager with Cryptography Integration
This project implements a Password Manager that uses the Fernet class from the cryptography module to encrypt and decrypt user passwords. The application allows users to securely store their account passwords and retrieve them when needed, ensuring a safe and user-friendly experience.
My Approach
The Password Manager is designed with security and simplicity in mind. By utilizing the Fernet encryption from the cryptography library, the project ensures that passwords are stored in an encrypted format, making them unreadable without the correct decryption key. The application provides two main functionalities: adding new passwords and viewing stored ones.
Key Features
Encryption with Fernet: The application generates a secure encryption key using
Fernet.generate_key(), which is then stored in a local file calledkey.key. This key is used to both encrypt and decrypt the passwords, ensuring their security.Password Storage: Usernames and encrypted passwords are stored in a plain text file called
password.text, with each entry formatted asAccount | Encrypted Password.Decryption and Viewing: When viewing stored passwords, the
Fernetkey is used to decrypt the password, making it readable for the user.User Input: The program allows users to interactively choose whether to add a new password or view the existing ones.

