Skip to content

vaibtech11/password-strength

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Password Strength - Regex Tester

It determines a password's strength based on its minimum length, the presence of a number, and the use of special characters.

TO execute the code run "python main.py"

Why did I choose this approach?

I selected this strategy because it is straightforward and simple enough for a novice to comprehend. Rather than writing intricate logic, I checked particular patterns, such as numbers and special characters, using Python's regular expressions.

To ensure that the code is still readable and clear, each password validation rule was examined individually.

What was the hardest bug you faced, and how did you fix it?

My special character check wasn't functioning properly at first. By understanding how re.search() functions and modifying the regular expression pattern to appropriately match special characters within the password, I was able to resolve this issue.

Screenshot of final output showing which passwords failed and which passed

Program Output

About

This project is a Python-based security tool that validates the strength of user passwords by checking for length, numbers, and special characters to ensure they meet security standards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages