Skip to content

A random password generator app provides secure and unique passwords. By clicking the generate password button, the user is prompted for criteria such as password length, character types to include and the password is generated. The generated password is displayed in an alert or written to the page, ensuring a high level of security to the user.

Notifications You must be signed in to change notification settings

MartinCespedes/Generate_Random_Password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Password Generator

Contents

Description

User Story

Acceptance Criteria

Installation

Usage

Features

Application Screenshot Preview

Resources & Credit

License

Description

When the user clicks a button to generate a password, they are presented with prompts for password criteria, such as length and character types. The input is validated and at least one character type must be selected. Once all prompts are answered, a password is generated that matches the selected criteria and is either displayed in an alert or written to the page. This feature improves security by providing employees with a strong and randomly generated password.

User Story

- AS AN employee with access to sensitive data
- I WANT to randomly generate a password that meets certain criteria
- SO THAT I can create a strong password that provides greater security

Acceptance Criteria

- GIVEN I need a new, secure password
- WHEN I click the button to generate a password
- THEN I am presented with a series of prompts for password criteria
- WHEN prompted for password criteria
- THEN I select which criteria to include in the password
- WHEN prompted for the length of the password
- THEN I choose a length of at least 8 characters and no more than 128 characters
- WHEN asked for character types to include in the password
- THEN I confirm whether or not to include lowercase, uppercase, numeric, and/or special characters
- WHEN I answer each prompt
- THEN my input should be validated and at least one character type should be selected
- WHEN all prompts are answered
- THEN a password is generated that matches the selected criteria
- WHEN the password is generated
- THEN the password is either displayed in an alert or written to the page

Installation

- To install and use the Password Generator application, follow these steps:

- Open the Live Link to App provided in the project description.

- Alternatively, you can clone this repository to your local machine using Git:

- git clone https://github.com/martincespedes/Generate_Random_Password.git

- Open the index.html file in your web browser to run the application.

Usage

- To use the Password Generator application, follow these steps:

- Click the "Generate Password" button on the main page.

- Follow the prompts to choose the length of the password and which types of characters to include.

- Once you have made your selections, a new password will be generated and displayed on the page.

- You can copy the password to your clipboard by clicking the "Copy to Clipboard" button

Features

- The Password Generator application includes the following features:

- User input validation to ensure the selected password length is between 8 and 128 characters.

- User input validation to ensure at least one character type is selected.

- The ability to generate passwords containing lowercase letters, uppercase letters, numbers, and special characters.

- A responsive and intuitive user interface.

- The ability to copy the generated password to the clipboard for easy use.

Application Screenshot Preview

Password Generator

Resources/Credit

License

License

Copyright (c) 2023 Martin Cespedes

This project is licensed under the terms of the MIT license.

About

A random password generator app provides secure and unique passwords. By clicking the generate password button, the user is prompted for criteria such as password length, character types to include and the password is generated. The generated password is displayed in an alert or written to the page, ensuring a high level of security to the user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published