/password-manager

This code is a simple password manager that allows users to view existing passwords and add new ones. It uses the cryptography library to encrypt and decrypt passwords and stores them in a text file. The program prompts the user to choose between viewing existing passwords, adding new ones, or quitting.

Primary LanguagePython

Password Manager

This is a Python program for managing passwords using Fernet encryption from the cryptography library.

Features

The password manager has the following features:

  1. Adding a new password for an account
  2. Viewing saved passwords for different accounts

Installation

  1. Clone the repository to your local machine.
  2. Install the dependencies using pip install -r requirements.txt.
  3. Run the password_manager.py file using Python.

Usage

  1. When you run the program, you will be prompted to enter a master password that will be used to encrypt and decrypt your passwords.
  2. You can then choose to add a new password or view existing passwords by typing "add" or "view" at the prompt.
  3. If you choose to add a new password, you will be prompted to enter the account name and password. The password will be encrypted and saved to a file called passwords.txt.
  4. If you choose to view existing passwords, the program will decrypt and display all saved passwords.