Coders Packet

Password Generator and Validator using C++

By Priyadarshini Gopal

Code generated passwords using random function and validates passwords input by the user

The code has three functions:

1. Display Password Guidelines:

    Output:

        Displays password guidelines

2. Generate Password:

    Input:

        i) number of passwords to be generated

        ii) length of password for each password to be genrated

    Output:

        Valid password(s) as per input using random function

3. Validate Password: 

   Input:

        i) number of passwords to be validated

        ii) actual passwords to be validated

    Output:

        i) Valid passsword, if the password follows the guidelines

        ii) Invalid password with reasons, if password does not follow guidelines

Download Complete Code

Comments

No comments yet