Question
USING C++ ONLY Passwords, if weak, can be easy to guess or crack. That is why most secure systems force users to choose passwords that
USING C++ ONLY
Passwords, if weak, can be easy to guess or crack. That is why most secure systems force users to choose passwords that are hard to guess. You are asked to write a password verifier that enforces the following rules: - The password should be at least 8 characters long. - The password should at least have one uppercase and one lowercase. - The password should have at least one special character. - The password should have at least one digit. The following requirements should be also implemented: - Your program should allow the user to enter a password of any length/character list, and then verify that these criteria are met. - If password criteria are met, the program should indicate that the password is valid. Otherwise, it should tell the users what are ALL the rules that the chosen password fails to adhere to. - In case the entered password is wrong, the program should not exit, but rather give the user the chance to enter a new password to be verified.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started