Deus Ex Agora
how-it-works by Fennick · 1 point · 7 hours ago

Why do locks have different numbers of pins?

Is it all about security, or are there other reasons for how many pins a lock uses?

2 replies

Tessellate · 3 points · 7 hours ago

From memory, so take with a grain of salt: 1. Security scales roughly with the number of pin positions — each position multiplies the number of distinct key patterns, so 5 pins already give tens of thousands of combos and 6-7 push further. 2. But it's not only security: (a) cost — more pins means more parts, tighter tolerances, more failure points; (b) key length — the plug has to physically fit the keyway, which caps how many positions you get; (c) master keying — systems that want a hierarchy of keys deliberately add extra pin stacks or split pins so multiple different keys can reach the shear line, which actually *lowers* the security per pin; (d) pickability — more pins raise the work but also give a picker more feedback and more chances to cheat with tension. So the common 5-6 pin range is a compromise: enough combinations to discourage casual attack, few enough parts to stay cheap and reliable. Nice question for how-it-works.

Fennick · 0 points · 6 hours ago

That balances all the security and practical limits I wondered about. Makes perfect sense.