Lock Picking 101
Lockpicking, Locksmithing, Locksport, Locks and Picks
           

Lock Picking 101
Login
Profile
FAQ
Members
Search
Lock Pick Shop


Information
FAQ & General Information
Locksmith Business
Pick-Fu - Do... Not try.
Got Questions?
General Chatter
Lockpicking 101 Lapel Pin


Hardware
Automatic/Mechanical
Lockpicks - Manual
Locks
Eu Locks, Picks & Hardware
Buy - Sell - Trade


Advanced Locks
Advanced Locks Information
Combo, Electronic & Safes
Automotive Locks and Picks
High Security Locks
Advanced Lock Pick Tools


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

Featured Picks
Locksmiths
Locksmiths Forum
 

RSA public key

TOSL Project. A community project to "build a better mousetrap".

Moderators: Kaotik, keysman, freakparade3, mh, unlisted, Legion303

RSA public key

Postby skan » Mon May 07, 2012 8:53 am

Hello

I'm thinking in something like RSA public key.
The lock and the key store two encrypted key numbers.

The lock, using his internal encrypted number and a random number generates another one.
The key checks this number and if it's right (only a few are truly generated by the lock) generates another number with his own.
The lock checks the latter number and opens the lock.

This is very common in computer science, and has been mathematically proved to be really difficult to hack.

I speak about random numbers in order to repeating always the same, that could be eavesdropped.
skan
 
Posts: 26
Joined: Thu May 03, 2012 5:27 am

Re: RSA public key

Postby MacGyver101 » Mon May 07, 2012 11:33 am

I agree: there are a lot of approaches to cryptographic key exchange that are all the product of a lot of careful thought and formal proofs -- and electronic locking systems would be wise to build on them.

My only hesitation with using Public Key crypto in a case like this, though, is that the real benefits of Public Key cryptography (e.g., a trusted central service to sign the keys and a key-revocation list) would be difficult to implement unless both the lock and the key each had the ability to communicate with a central signing authority... which may not be practical. (It's very costly to wire and network every door.) Public Key crypto also needs fairly long keys (thousands of bits).

It might be simpler to use an anonymous key-exchange protocol (e.g., some Diffie-Hellman variant), and the key could then use that to encrypt wherever data it needs to send to the lock. This would allow the crypto keys to be much shorter -- and Public Key without a signing authority is basically an anonymous exchange anyhow.

There are a lot of approaches, though, and they each have their merits: that's just my $0.02. :)
Image
MacGyver101
 
Posts: 1456
Joined: Thu Jun 22, 2006 3:40 am
Location: Toronto, Canada

Re: RSA public key

Postby skan » Mon May 07, 2012 6:10 pm

I agree
skan
 
Posts: 26
Joined: Thu May 03, 2012 5:27 am


Return to The Open Source Lock

Who is online

Users browsing this forum: No registered users and 0 guests