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.
and so on.
[ Parent
| on HN ]
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.
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/