Monday, February 16, 2009

Combination Locks

Combination locks advertise that each lock has only one of 64,000 possible combinations. They get this from the combination being three numbers (1 - 40) or 40 x 40 x 40 = 64,000. Since 5-6 combinations can be tried per minute it could possibly take 200 hours to break the code.

However what if lock accepted not only the actual code but the number above it and below it. Example if 5 is the real number the lock will also accept 4 and 6. Also, since there is no time limit on the third number someone can continue to try different numbers until they stumble upon the right one. Example they could set the lock to 2 and pull it, if it did not open they could place it on 6 and pull it etc, etc.

Given the above circumstances the lock does not actually have 64,000 possible combinations. How many does it have, and given less combinations would it be possible or worth attempting to break the code.

No comments: