Create a program that verifies the strength of a password

Assignment Help C/C++ Programming
Reference no: EM131433652

Create a .cpp program that verifies the strength of a password that a user is entering is strong (complex/secure) enough. In the main area of the program, prompt the user to enter a password. Then, call a function, passing into it the password that they entered.

In the function, use whatever .cpp commands or built-in functions are available to ensure:
a. The password is at least 8 characters in length.
b. The password is mixed case (upper and lower).
c. You have at least one of these valid special characters in your password:
$ ! @ % ^ & * #

The function will determine if the password is strong enough and then output the correct message. Here is a sample run and output from the program:

First Run:
Enter a password: thisis
Your password length is too short. Please choose a password that is at least 8 characters long.
Your password is not a mixed case. Please choose a password with mixed case.
You do not have a valid special character in your password. Please add at least one special character.

Second Run:
Enter a password: thisismypassword
Your password is not a mixed case. Please choose a password with mixed case.
You do not have a valid special character in your password. Please add at least one special character.

Third Run:
Enter a password: Thisismypassword
You do not have a valid special character in your password. Please add at least one special character.

Fourth Run:
Enter a password: thisis!myPassWORD
Thank you. Your password is valid.

Reference no: EM131433652

Questions Cloud

Healthcare cost and utilization project : Source: Healthcare Cost and Utilization Project: United States Department of Health and Human Services. Retrieved from http://www.ahrq.gov/research/data/hcup/
Develop system conceptual design : Develop "system conceptual design". This assignment an individual assignment and will be submitted as a written report - design of a large system requires components that work together in a way
Assumptions about leadership different : How are your assumptions about leadership different now than they were in the beginning of the course? What does it mean to be a leader?
Devise a staffing strategy for the organizations : 1. How does an organization's investment in staffing benefit the organization after an applicant becomes an employee? 2. Devise a staffing strategy for the following organizations:
Create a program that verifies the strength of a password : Create a .cpp program that verifies the strength of a password that a user is entering is strong (complex/secure) enough. In the main area of the program, prompt the user to enter a password.
Concepts of preload and afterload : Lasix "reduces extravascular volume by inducing diuresis hence decrease preload and the work of the heart in pumping blood is decreased hence prevent progression of heart failure." Briefly explain the concepts of preload and afterload.
How could validation have saved sara development time : Most people use browsers that support images. Why is it important to support all browser types in this situation? How could validation have saved Sara development time? What other advantages would have come from initial validation?
Is there anything ms zorin can and should do : The prime candidate for the manager's position is Mr. Yalo, a recent immigrant from a country known for confining the roles for women. Ms. Zorin was alerted by other women engineers to expect unchallenging, trivial assignments from a supervisor wi..
What items are typically included in a job description : What items are typically included in a job description? What items are typically not shown? What is job analysis? How can you make use of the information it provides? Describe the types of information typically found in a job specification.

Reviews

len1433652

3/20/2017 3:55:20 AM

need this done by 9 PM tonight if possible, this is a beginning programming class so it should be level appropriate Create a .cpp program that verifies the strength of a password that a user is entering is strong (complex/secure) enough. In the main area of the program, prompt the user to enter a password.

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd