Password Manager

Password Generator with Python

In today’s digital world, strong passwords are our first line of defense against cyber threats. But let’s face it, remembering complex, unique passwords for every account is near impossible. That’s where password generators come in, and thankfully, building our own with Python is easier .

Building the Brick by Brick:

Here’s a breakdown of our DIY password generator:

  1. Character Sets: We’ll define separate lists for lowercase, uppercase letters, numbers, and symbols. This allows for customization based on desired password strength.
  2. User Input: Our app will prompt users to choose the desired password length and character types they want to include.
  3. Randomness is Key: We’ll leverage Python’s random module to randomly select characters from each list until the desired length is reached.
  4. Complexity Matters: To ensure maximum security, we’ll shuffle the generated characters using the random.shuffle function. This prevents predictable patterns.
  5. Extra Security Layer (Optional): We can incorporate password strength meters and rules for minimum length, character types, etc.
Technologies used:
-python 3.8
-tkinter
-random module
-pyperclip 1.8.0
-poetry 0.12

Putting it All Together:

Our code will combine these elements into a function that generates the password based on user input. We can then design a simple interface using libraries like tkinter for a user-friendly experience.

                                                                                      GUI of the App

  You enter the website into website textbox and click generate password button

The above message will popup for confirmation.

the passwords are stored in data.txt which is not the most secure way , in future implementations this could be fixed .

Github Link of the Project

1 thought on “Password Manager”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top