Skip to content

Brute Force code #1

@BlackLotus

Description

@BlackLotus

No I don't want the brute force code, but your code is inefficient in that it uses 3 tries to actually get the correct pin. You only have to test twice:

[1234, 5678, 1337]

And to test do:

[1234, 5678]

If one of the pins works

[1234]

If both pins were incorrect it is the third.

Yeah I know it's one request under hundreds/thousands, but I needed to get that out of my system.
Thanks for the source thought.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions