Question: Please write it in Matlab Your group has been hired by UIC to code a password checker for the UIC's Net code should prompt the
Your group has been hired by UIC to code a password checker for the UIC's Net code should prompt the user to create a password with the following criteria: ID system. Your 1. The password needs to contain 6-15 characters. 2. The password needs to incorporate at least one lowercase and one uppercas , one number, and one unique character. Part I) Your code should check the user's password for the above criteria, and display the each appropriate message from the list below ordered according to the priority given criteria to i. For a password that meets the above criteria display: a. Your password has been For a password shorter than 6, or longer than 15 characters display: a. Your password contains x characters; please b. Your password contains x characters; please delete a minimum of y characters i. add a minimum of y more characters. ii. For a password containing no uppercase, lowercase, numbers, or unique c display: a. Your password does not contain at least one uppercase letter b. Your password does not contain at least one lowercase letter. c. Your password does not contain at least one number d. Your password does not contain at least one unique character. ote: The code should prompt the user with the appropriate feedback according to the priority list shown above. For example, if the user inputs password "cat2233" the code should prompt user to include at least one uppercase letter, and allow the user to input a new password. I the user then inputs the password "Cat2233" on a second try, the code should prompt the user to include at least one unique character. Part II) Data has shown that the most commonly used passwords at UIC are Abc1234 56* PasswordI", Dragon 123*, FootballI ", and Batman 123. In the case that the user chooses one of these passwords, your code should accept the password and display "Your password has been accepted". The code should then proceed by allowing the user to input a different password if they wish to change it after displaying the following warning: "Warning: Your password is a commonly used password. Would you like to change your password? Please enter Yes or No If the user chooses "Yes", prompt the user to enter a new password. If the user chooses No", display nothing and exit the password checker. Part III) Modify your code so that if the user chooses any of the common passwords listed above with any unique character at the end of the password (e.g. Abc123456? or Abc1234561), the code still accepts the password then displays the warning message offering the user a chance to create a different password
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
