Sitelet https://github.com/Show-Me-the-Code/python/issues/584
Skip to content

Password #584

Description

@suner8676-eng

generate_password function to allow users to specify the desired complexity, with flags for including/excluding digits and punctuation. This would provide more flexibility for users who may have varying security requirements or restrictions

Activity

  1. damianoecker26 commented on Sep 18, 2026

    @damianoecker26

    =True, include_punctuation=True`.

    1. Refine Draft:
  2. Fi6uDvGWucFv commented on Sep 19, 2026

    @Fi6uDvGWucFv

    To support the include_digits and include_punctuation flags effectively, the generate_password function should also expose a length parameter to ensure these constraints don't cause conflicts when the requested set of characters is too small. Should the function prioritize meeting the minimum length or strictly adhere to the exclusion flags if the character pool becomes exhausted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions