https://github.com/maheera421/password-generator
Password Generator allows users to create strong, randomized passwords based on their preferences
https://github.com/maheera421/password-generator
Last synced: 4 months ago
JSON representation
Password Generator allows users to create strong, randomized passwords based on their preferences
- Host: GitHub
- URL: https://github.com/maheera421/password-generator
- Owner: maheera421
- Created: 2023-08-30T10:01:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T19:01:03.000Z (about 1 year ago)
- Last Synced: 2025-03-14T01:21:54.116Z (7 months ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Password-Generator
# 🚀 Code Description:
This code is a Password Generator that allows users to create strong, randomized passwords based on their preferences. Here's how it works:
1. It starts by importing an external module named `data`.
2. The program displays a welcome message along with instructions to the user.
3. It prompts the user to input:
- `nr_letters`: The number of letters they want in the password.
- `nr_symbols`: The number of symbols they want in the password.
- `nr_numbers`: The number of numbers they want in the password.4. The code then initializes an empty list called `password_list`.
5. It populates `password_list` with characters based on the user's input:
- It adds `nr_letters` random letters from the `data.letters` character set.
- It appends `nr_symbols` random symbols from the `data.symbols` character set.
- It appends `nr_numbers` random numbers from the `data.numbers` character set.6. The code shuffles the elements in `password_list` to ensure randomness in the password.
7. It creates the final password by concatenating the shuffled elements in `password_list`.
8. The generated password is displayed to the user.
# 🔐 Code Specifications:
- The code uses an external module named `data` which is private and is not included in the code posted on GitHub. Users must request access to this module separately for the code to work correctly.
- Users can customize the length and composition of the password by specifying the number of letters, symbols, and numbers they want.
- The code ensures that the generated password is random by shuffling the elements in `password_list`.
- The final password is displayed to the user.