News for hackers. Stuff that matters.
Re:Tourist's lucky guess cracks safe code on first try by emilfihlman on Thursday June 27, 2019 @08:08AM (#20293679)
The good thing about normal combination locks is that you can try all combinations sequentially with minimum movement.

  000 start
  001 1 move
  002 1 move
  ...
  008 1 move
  009 1 move
  019 1 move
  018 1 move
  ...
  011 1 move
  010 1 move
  020 1 move
  021 1 move
  ...
and so on.
Re:Tourist's lucky guess cracks safe code on first try by kozhevnikov on Thursday June 27, 2019 @08:18AM (#20293734)
I feel like saving 1 move in 10 (9 to 10 is 2 moves, 10 to 11 is back to 1 move) is not worth the mental capacity required to remember current up/down direction. Easier to let the muscles do the work and let your mind wonder.
Re:Tourist's lucky guess cracks safe code on first try by emilfihlman on Thursday June 27, 2019 @09:56AM (#20294356)
That's a good point, though I do think that it's not that big of a mental hurdle. Consider knitting, for example.
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/
Re:Tourist's lucky guess cracks safe code on first try by darkpuma on Thursday June 27, 2019 @02:27PM (#20297143)
In practice 009 to 010 is a single move, because your thumb can cover and turn two or more wheels at once.