Article 7139W Physical Keys and Encryption Keys

Physical Keys and Encryption Keys

by
John
from John D. Cook on (#7139W)

A physical key, such as a house key, is a piece of metal with cuts of differing depths. Typically there may be around 6 cuts, with five different possible depths for each cut. This allows 56 = 15,625 possible keys.

Encryption keys, such as AES keys, are a string of bits, often 128 bits, for a total of 2128 possible keys.

How long would a physical key have to be to have the same level of security as an encryption key? We'd need to solve

5n = 2128

which means

n = 128 / log25 = 55.12.

So we'd need a key with around 55 notches.

long_key.png

This only takes into account combinatorial possibilities, not the difficulty of attacking a physical key or a binary key. There are incomparably more possibilities for binary keys, but encryption attacks can be automated and carried out remotely (unless a computer is air gapped). A physical lock can only be attacked in person. It takes a lock picker orders of magnitude more time to try a key than a password cracking program. On the other hand, locks aren't picked by trying thousands of keys.

Related post: Measuring cryptographic strength in liters of boiling water

The post Physical Keys and Encryption Keys first appeared on John D. Cook.
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments