Project 1 CS221: C and Systems Programming – Fall 2019 Deadline: October 21, 2019 at 11:59pm Part I.
Password Strength Meter Weak passwords are common source of e-mail and social website accounts hacks. To alleviate this problem, programs, often, when the user chooses a new password, determine if it is a legitimately strong password. You are to write a function that validates the password strength. The restrictions that we define as our defined level of strength of passwords is the following: the password must be at least eight characters long, and must include at least one uppercase, one lowercase letter, and one digit. The password cannot contain any other characters than letters and numbers. In addition, it must contain at least one string (consecutive letters) of at least four letters long (uppercase letters, lowecase letters, or combination of both). Furthermore, the password should not contain the username (usernames in our login program are not case-sensitive). Remember, failing to write this piece of code in the program correctly may result in accepting weak and vulnerable passwords. Your code helps rejecting such passwords.