Inspiration

The project was inspired by the need for stronger online security. Weak or reused passwords are one of the biggest risks for data breaches, so I wanted to build a tool that makes creating secure passwords simple and fast.

What it does

The Password Generator creates random, strong passwords based on user preferences such as length and complexity. It ensures that each password is unique and hard to guess, helping users improve their digital security.

How we built it

Used Python as the programming language. Imported the random and string modules to handle randomness and character sets. Implemented logic to let the user choose password length and include/exclude letters, numbers, or symbols. Combined the selected characters into a final randomized password.

Challenges we ran into

Ensuring the randomness was strong enough for secure passwords. Handling user input validation (e.g., if someone entered an invalid length). Balancing complexity with usability since some characters can be confusing (O vs 0, l vs 1).

Accomplishments that we're proud of

Successfully created a working and secure password generator Learned to use Python’s built-in libraries effectively. Built a practical tool that can actually help improve cybersecurity in everyday use.

What we learned

The importance of randomness and entropy in password strength: Entropy =𝐿⋅log2(𝑁) Entropy=L⋅log2(N) where 𝐿:L = password length and 𝑁:N = number of possible characters.

How to apply Python modules like random and string.

Writing cleaner, more user-friendly code. What's next for Password Generator by Python Add a GUI interface for easier use. Implement a password strength meter to guide users. Use the secrets module for cryptographically secure randomness. Allow excluding confusing characters. Optionally integrate with a password manager or encrypted storage.

Built With

  • digits
  • linux)-tools:-basic-text-editor-/-ide-(e.g.
  • macos
  • programming-language:-python-?-libraries:-random-?-for-generating-random-characters-string-?-for-character-sets-(letters
  • punctuation)-platform:-runs-on-any-system-with-python-installed-(cross-platform:-windows
  • vs-code
Share this project:

Updates