News for hackers. Stuff that matters.
Re:Tourist's lucky guess cracks safe code on first try by rvdse on Thursday June 27, 2019 @09:40AM (#20294220)
That sounds similar to the concept of Gray code [0].

For electronic locks, there is a similar method that allows you to try a 4-digit code for each key press [1].

[0] https://en.wikipedia.org/wiki/Gray_code [1] http://alvaray.org/brute-forcing-pincode-keypads-using-combi...

Re:Tourist's lucky guess cracks safe code on first try by emilfihlman on Thursday June 27, 2019 @09:59AM (#20294386)
Yup, that's the general idea I also had in mind.

Those "try all n in shortest combination" sequences are called De Bruijn sequences in general.

https://en.wikipedia.org/wiki/De_Bruijn_sequence

Re:Tourist's lucky guess cracks safe code on first try by Ductapemaster on Thursday June 27, 2019 @02:17PM (#20297057)
These codes have been used to break wireless garage door openers in comically little time: https://samy.pl/opensesame/