Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is the assignment, need to be programmed in C++ using the isupper, islower, ... ect funcitons. Below i have written what i have done

This is the assignment, need to be programmed in C++ using the isupper, islower, ... ect funcitons. Below i have written what i have done so far but i need help finishing the program.

image text in transcribed

#include #include #include #include

using namespace std;

bool validPass(string);

int main() { // char password[]; std::string pass = ""; cout

bool validPass(string password) { int length; length = password.length(); //split into 4 different functions and pass in string if (length>=8) { for (int count=0; count

for (int count=0; count

} }

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 eriteria are met. If password criteria are met, the program should indicate that the password is valid. Otherwise, it should tel the users what are ALL the rules that the chosen password fails to adhere to. length/character list, and then verify that these criteria are met 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

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

Step: 3

blur-text-image

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

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions