Write a script that opens a file containing a list of passwords and checks to see if the passwords are strong. 1. Save a list of five passwords in a text file. 2. Write a Python script that opens the text file and reads the passwords. 3. For each password, use regular expressions to check the password strength (I recommend creating a module to do this). For a password to be considered strong, it must satisfy the following requirements: + minimum length 8 characters + must contain one or more alphabetical characters [a-z] + must contain one or more Uppercase characters [A-Z] + must contain one or more numeric characters [0-9] + must contain one or more special characters [_$!]
Write a script that opens a file containing a list of passwords and checks to see if the passwords are strong.
1. Save a list of five passwords in a text file.
2. Write a Python script that opens the text file and reads the passwords.
3. For each password, use regular expressions to check the password strength (I recommend creating a module to do this). For a password to be considered strong, it must satisfy the following requirements:
+ minimum length 8 characters
+ must contain one or more alphabetical characters [a-z]
+ must contain one or more Uppercase characters [A-Z]
+ must contain one or more numeric characters [0-9]
+ must contain one or more special characters [_$!]
Trending now
This is a popular solution!
Step by step
Solved in 2 steps