{"id":3380,"date":"2025-08-26T15:27:06","date_gmt":"2025-08-26T23:27:06","guid":{"rendered":"http:\/\/pididu.com\/wordpress\/?p=3380"},"modified":"2025-08-26T16:01:52","modified_gmt":"2025-08-27T00:01:52","slug":"list-of-4-digit-lock-box-combinations","status":"publish","type":"post","link":"http:\/\/pididu.com\/wordpress\/blog\/list-of-4-digit-lock-box-combinations\/","title":{"rendered":"List of 4 Digit Lock Box Combinations"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"537\" height=\"919\" src=\"http:\/\/pididu.com\/wordpress\/wp-content\/uploads\/2025\/08\/51SqGCcom9L._AC_SL1024_.jpg\" alt=\"\" class=\"wp-image-3385\" style=\"aspect-ratio:0.5843307943416758;width:230px;height:auto\" srcset=\"http:\/\/pididu.com\/wordpress\/wp-content\/uploads\/2025\/08\/51SqGCcom9L._AC_SL1024_.jpg 537w, http:\/\/pididu.com\/wordpress\/wp-content\/uploads\/2025\/08\/51SqGCcom9L._AC_SL1024_-175x300.jpg 175w, http:\/\/pididu.com\/wordpress\/wp-content\/uploads\/2025\/08\/51SqGCcom9L._AC_SL1024_-58x100.jpg 58w\" sizes=\"(max-width: 537px) 100vw, 537px\" \/><\/figure><\/div>\n\n\n<p>A lock box or key safe is used to store the key to a door in a semi-secure fashion.  In the type shown here, the box is opened by pushing exactly the correct digits, then sliding a lever to open.  If the wrong combination is entered, the lock must be reset before trying again.  On this type of lock, the order of the digits does not matter; i.e., the combination 3924 is the same as 2349.<\/p>\n\n\n\n<p>The combination can be any number of digits up to 10, but most people use a 4-digit combination.  Below is a list of possible combinations for such a lock.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">0123\n0124\n0125\n0126\n0127\n0128\n0129\n0134\n0135\n0136\n0137\n0138\n0139\n0145\n0146\n0147\n0148\n0149\n0156\n0157\n0158\n0159\n0167\n0168\n0169\n0178\n0179\n0189\n0234\n0235\n0236\n0237\n0238\n0239\n0245\n0246\n0247\n0248\n0249\n0256\n0257\n0258\n0259\n0267\n0268\n0269\n0278\n0279\n0289\n0345\n0346\n0347\n0348\n0349\n0356\n0357\n0358\n0359\n0367\n0368\n0369\n0378\n0379\n0389\n0456\n0457\n0458\n0459\n0467\n0468\n0469\n0478\n0479\n0489\n0567\n0568\n0569\n0578\n0579\n0589\n0678\n0679\n0689\n0789\n1234\n1235\n1236\n1237\n1238\n1239\n1245\n1246\n1247\n1248\n1249\n1256\n1257\n1258\n1259\n1267\n1268\n1269\n1278\n1279\n1289\n1345\n1346\n1347\n1348\n1349\n1356\n1357\n1358\n1359\n1367\n1368\n1369\n1378\n1379\n1389\n1456\n1457\n1458\n1459\n1467\n1468\n1469\n1478\n1479\n1489\n1567\n1568\n1569\n1578\n1579\n1589\n1678\n1679\n1689\n1789\n2345\n2346\n2347\n2348\n2349\n2356\n2357\n2358\n2359\n2367\n2368\n2369\n2378\n2379\n2389\n2456\n2457\n2458\n2459\n2467\n2468\n2469\n2478\n2479\n2489\n2567\n2568\n2569\n2578\n2579\n2589\n2678\n2679\n2689\n2789\n3456\n3457\n3458\n3459\n3467\n3468\n3469\n3478\n3479\n3489\n3567\n3568\n3569\n3578\n3579\n3589\n3678\n3679\n3689\n3789\n4567\n4568\n4569\n4578\n4579\n4589\n4678\n4679\n4689\n4789\n5678\n5679\n5689\n5789\n6789<\/pre>\n\n\n\n<p class=\"has-dark-gray-color has-text-color\">Three are 210 possible combinations, meaning that it would take someone about half an hour to hack such a lock simply by trying numbers from the list.  Some combinations are more likely, such as 1234, the house number, or an important year, but that&#8217;s beyond the scope of this article.<\/p>\n\n\n\n<p>The code below was used to generate the list.  It could easily be modified to generate a list of all 1024 possible combinations.  Also, some lock boxes have an additional # and * key, like a telephone keypad.  A list of combinations could be generated for such a lock by changing nButtons to 10 and MaxCombos to 4096.  Note that the additional keys would print as hexadecimal A and B, which you would map to the extra keys.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/  This quick program will calculate the possible combinations\r\n\/\/  for a 10-digit lockbox.  Order of the digits does not matter,\r\n\/\/  and no digit may be repeated.\r\n\/\/  To compile\r\n\/\/    gcc combo.c -o combo\r\n\/\/  Roderick; 26-AUG-2025.\r\n#include &lt;stdio.h>\r\n\r\n#define nButtons 10\r\n\/\/#define MaxCombos (2^nButtons)\r\n#define MaxCombos 1024\r\n\r\nint main() {\r\n\tint ComboNumber;  \/\/ Combination #1, #2, #3, etc.\r\n\tint OutputLineNumber = 1;\r\n\r\n\tfor (ComboNumber=0; ComboNumber&lt;MaxCombos; ComboNumber++) {\r\n\t\tint n, nDigits, tComboNumber;\r\n\r\n\t\ttComboNumber = ComboNumber;\r\n\r\n\t\t\/\/ see if we have a 4-digit combination\r\n\t\tnDigits = 0;\r\n\t\tfor (n=0; n&lt;nButtons; n++) {\r\n\t\t\tif (tComboNumber &amp; 1) nDigits++;\r\n\t\t\ttComboNumber >>= 1;\r\n\t\t\t}\r\n\r\n\t\t\/\/ if the combination is not 4 digits, we're not interested\r\n\t\t\/\/ if we are interested in all combinations regardless of\r\n\t\t\/\/ digit count, take out this condition\r\n\t\tif (nDigits == 4) {\r\n\r\n\t\t\ttComboNumber = ComboNumber;\r\n\r\n\t\t\t\/\/ DEBUG printf(\"Combo #%d: \", ComboNumber); \r\n\t\t\t\/\/ DEBUG printf(\"%d. \", OutputLineNumber);\r\n\r\n\t\t\tfor (n=0; n&lt;nButtons; n++) {\r\n\t\t\t\tif (tComboNumber &amp; 1) printf(\"%1X\", n);\r\n\t\t\t\ttComboNumber >>= 1;\r\n\t\t\t\t}\r\n\t\t\tprintf(\"\\n\");\r\n\t\t\tOutputLineNumber++;\r\n\t\t\t}\r\n\t\t}\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A lock box or key safe is used to store the key to a door in a semi-secure fashion. In the type shown here, the box is opened by pushing exactly the correct digits, then sliding a lever to open. If the wrong combination is entered, the lock must be reset before trying again. On &hellip; <a href=\"http:\/\/pididu.com\/wordpress\/blog\/list-of-4-digit-lock-box-combinations\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">List of 4 Digit Lock Box Combinations<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[203,166],"tags":[402,401,397,399,400,398],"_links":{"self":[{"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/posts\/3380"}],"collection":[{"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/comments?post=3380"}],"version-history":[{"count":7,"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/posts\/3380\/revisions"}],"predecessor-version":[{"id":3390,"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/posts\/3380\/revisions\/3390"}],"wp:attachment":[{"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3380"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pididu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}