by rvdse · 7y ago · 0 comments
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...
Those "try all n in shortest combination" sequences are called De Bruijn sequences in general.