Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DO NOT STORE THE PASSWORDS IN A FILE * For this challenge, you will be writing a program that stores 5 0 of the most

DO NOT STORE THE PASSWORDS IN A FILE*
For this challenge, you will be writing a program that stores 50 of the most common passwords (co You will then ask the user to create a username and password using a looping structure OR the in list, and IF it is, print out: "Your password is too common. Please consider changing it." In additio where the password is stored if one was already found, i.e at index 0,10,50.
If the password is not in the list, then ensure that the user enters at least one capital letter, one lov these (#,$,,-,+,), and is at least 8 or more characters long. You will achieve this outcome by ch user's password string. If the user does not have the aforementioned features, you will ask them tc the user's password to the password database list and print out: "You have a strong password."
Program Instructions:
Create three functions:
def StoredPasswords(checkPass):
def getUserPass():
def main() or if =='_ main_':
Call getUserPass from main():
Create a List with 50 of the most common passwords in StoredPasswords(checkPass)(THE LIS
Ask the user to create a username and password (you will need two different variable names h - Make sure to appropriately deal with integers and strings (you can force everything to a str
Call StoredPasswords() from getUserPass() and pass the user's password as an argument - i.e., result = StoredPasswords(userPass)
Compare the user's password with the values in the List from inside the body of the StoredPas - IF you get a match, stop comparing the values and store the string Your password is too co
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions