Lock Picking 101 Forum
A community dedicated to the fun and ethical hobby of lock picking.
       

Lock Picking 101 Home
Login
Profile
Members
Forum Rules
Frequent Forum Questions
SEARCH
View New Posts
View Active Topics


Live Chat on Discord
LP101 Forum Chat
Keypicking Forum Chat
Reddit r/lockpicking Chat



Learn How to Pick Locks
FAQs & General Questions
Got Beginner Questions?
Pick-Fu [Intermediate Level]


Ask a Locksmith
This Old Lock
This Old Safe
What Lock Should I Buy?



Hardware
Locks
Lock Patents
Lock Picks
Lock Bumping
Lock Impressioning
Lock Pick Guns, Snappers
European Locks & Picks
The Machine Shop
The Open Source Lock
Handcuffs


Member Spotlight
Member Introductions
Member Lock Collections
Member Social Media


Off Topic
General Chatter
Other Puzzles


Locksmith Business Info
Training & Licensing
Running a Business
Keyways & Key Blanks
Key Machines
Master Keyed Systems
Closers and Crash Bars
Life Safety Compliance
Electronic Locks & Access
Locksmith Supplies
Locksmith Lounge


Buy Sell Trade
Buy - Sell - Trade
It came from Ebay!


Advanced Topics
Membership Information
Special Access Required:
High Security Locks
Vending Locks
Advanced Lock Pick Tools
Bypass Techniques
Safes & Safe Locks
Automotive Entry & Tools
Advanced Buy/Sell/Trade


Locksport Groups
Locksport Local
Chapter President's Office
Locksport Board Room
 

universal key decoder utility

Information about locks themselves. Questions, tips and lock diagram information should be posted here.

universal key decoder utility

Postby kstoerz » 27 Aug 2011 20:38

Hello LP101,

I moved into a new place, and the keys the landlord gave me are crappy copies on cheap blanks. Needless to say, I'll be having proper keys on OEM blanks code-cut as soon as I can stop by my favorite local place for such things. I took measurements of the keys in question, and fumbled with tables of bitting depths online for a while before deciding there had to be a more elegant way. Yes, I know you can buy a credit-card-sized key decoder, but this is more fun and gives you a much clearer picture of the condition of the key being examined and specifically the quality of the copy or code cutting.

http://kstoerz.com/locksport/bitting/

The default page loads up a fictitious Schlage key for an example. Output is presently a little primitive, but might get prettier as things go on. I wrote it from scratch over a few evenings using good old PHP and HTML. There is a MySQL table to organize the many different bitting systems it supports, but otherwise there isn't much to it.

Planned features:
  • Allow numbered cuts (0,1,2,3,4,5,6,7,8,9, etc) to be mixed amongst measurements and interpreted seamlessly
  • Generate a dynamic image of the key using GD to allow hold-it-up-to-the-screen sanity checking of your data entry
  • make a page to list all of the bitting data from the database table in a nice format for reference
  • other ideas?

I encourage your thoughts, criticism, ideas, etc. Are there other tools out there that serve this role that you are aware of?
kstoerz
 
Posts: 5
Joined: 20 Nov 2005 16:46

Re: universal key decoder utility

Postby MacGnG1 » 28 Aug 2011 0:48

Wow! That's a really nice little program you got there. I agree with your to do list. And a GDlib output of the key would be awesome!

Gotta crack out the digital caliper!
Nibbler: The poop-eradication is but one aspect of your importance.
MacGnG1
Supporter
Supporter
 
Posts: 1360
Joined: 9 Apr 2008 22:14
Location: Know Where, MD, USA

Re: universal key decoder utility

Postby LocksmithArmy » 29 Aug 2011 10:26

only thing i can add is this...
your 5th bit is a ? because it is too far between 2 bittings, understandable... BUT it is not truely a ?, it is either a 1 or a 2... you should denote this instead of just putting a ?... the bitting should be 3 8 5 9 1/2 4 or something to that effect. putting the 1 directly over the 2 so they only take up 1 character space... some way to let the key cutter know he needs to try BOTH cuts versus any of the 6 cuts...
LocksmithArmy
 
Posts: 989
Joined: 25 Jun 2009 22:14

Re: universal key decoder utility

Postby femurat » 30 Aug 2011 3:22

Great job, page bookmarked. I like php too :P

Generate a dynamic image of the key using GD to allow hold-it-up-to-the-screen sanity checking of your data entry.


This is the part I'd start with.

Thanks :)
User avatar
femurat
Site Admin
 
Posts: 3745
Joined: 22 Sep 2008 9:06
Location: Italy

Re: universal key decoder utility

Postby Evan » 30 Aug 2011 18:03

@kstoerz:

Interesting...

However your bitting sanity checker would not help you figure out situations like the one default example you have up on your page...

Clearly the chamber that is exhibiting a depth which is between the valid depths for the given type of lock has been keyed in a special manner using another bitting system of depths in that one chamber...

I have seen this before with Schlage locks which had two chambers pinned with Arrow pins and bitting depths as a "security measure"... It frustrates decoding the keys unless you have access to more than just a Schlage key decoder and makes it more difficult for someone to reverse engineer a keying system using just a Schlage blue punch... It isn't all that tough to make such keys once you crack the secret code and which other bitting system is being used with the factory spec...

~~ Evan
Evan
 
Posts: 1489
Joined: 5 Apr 2010 17:09
Location: Rhode Island


Return to Locks

Who is online

Users browsing this forum: No registered users and 11 guests