How b-user208/passwordgen works
PasswordGen is an interactive C command-line password generator. The user supplies a length and character categories; the entry point calls the generator, evaluates the returned password’s strength, and prints the password and score level. Generation includes category selection and Fisher–Yates shuffling; scoring covers character diversity, length, consecutive repeats, and character frequency. The sampled source shows these runtime relationships directly; the README documents the supported length range and capabilities.
Main entry points: main.c Prompt and report · generator.c Password generation · strength.c Strength scoring
Components 4
CLI workflow
- Prompt and report
main.c
Password logic
- Password generation
generator.c - Strength scoring
strength.c
Other components
- User
Connections 5
- User → Prompt and report: enters options
main.c - Prompt and report → Password generation: calls
main.c - Password generation → Prompt and report: returns password
main.c - Prompt and report → Strength scoring: scores password
main.c - Strength scoring → Prompt and report: returns score
main.c