Skip to content

Passwords with fghijkl are reported as more secure than they are #15

Open
@davidjwilkins

Description

@davidjwilkins

Describe the bug
The getLength function is supposed to strip sequential characters after a run length of 2. e.g. fghijkl should become fg.

However, because it first replaces the sequence asdfghjkl, it changes fghijkl to fgijk, which then becomes 'fgij, a length of 4.

To Reproduce

#14

Expected behavior
It should change fghijkl to fg

Screenshots
If applicable, add screenshots or console output that helps explain the situation

Environment (please complete the following information):

  • OS: [e.g. Linux Ubuntu]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions