We use many apps and websites everyday for school, work, research , personal use or just for fun! Most of these require us to register /sign- up with a username and password. It’s important to have a strong password to protect our private information.
This project helps you to check the strength of your password and even helps you in generating a stronger one.
You can also enhance the project by providing a “Copy to Clipboard” option and tips for creating strong passwords.
Pseudo Code:
Import necessary libraries (tkinter, random, string)
Define function to check password strength:
Set initial strength as "Weak"
If password length >= 8:
If password contains digits, uppercase letters, and special characters:
Set strength to "Strong"
Else if password contains digits or uppercase letters:
Set strength to "Medium"
Return strength
Define function to generate a random strong password:
While loop to generate a password:
Create password by selecting random characters from letters, digits, and special symbols
Check password strength
If strength is "Strong":
Exit the loop
Return password
Define function to check the entered password's strength:
Get password from input field
Call function to check strength and display result
Set up GUI window (Tkinter):
Create label with instructions for entering or generating password
Create input field for password
Create label to display strength of password
Create button to check strength
Create button to generate a strong password
Run the main event loop to display GUI