-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
martinvigo
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request