Input and Output of Random Password Generator
Input
In our Random Password Generator app, user input will determine how the password is generated. The inputs we plan to include are:
- Password Length: The user can specify the length of the password (e.g., a number between 8 and 32 characters). We’ll provide an input field (number type) for this.
- Character Type Toggles: The user can choose which sets of characters to include in the password. We will have checkboxes for:
- Uppercase Letters (A–Z)
- Lowercase Letters (a–z)
- Numbers (0–9)
- Symbols (special characters like !@#$%*&, etc.
- The user will interact with these inputs to set their desired criteria before generating the password.
These inputs give the user control over the generated password’s composition. For instance, one might exclude symbols if a certain system doesn’t allow them, or set a high length for extra security.
Output
The output of the app is a randomly generated password that meets the criteria provided by the user. Specifically, the app will display:
- Generated Password: Once the user clicks "Generate Password", the random password string appears on screen.
- Copy to Clipboard Confirmation: We include a "Copy" button next to the password. When clicked, it will copy the password to the user’s clipboard and show a short confirmation message like “Password copied to clipboard!”
- Dynamic Updates: If the user changes an input (like unchecking "Include Numbers" or changing the length) and regenerates, the output updates accordingly.


