the ZUMEL
Past The Velvet Rope
B-Town Boyz
Huffington Post
xkcd (webcomic)
NASCAR
Stile Project
Urban Dictionary
Wikipedia

Powered by Blogger

11 February 2009

encryption for the layman

i received a newsletter today from grand illusions. they are one of the places i get all my geek toys from, as well as thinkgeek. at the end of the newsletter, it had a "puzzle". i recognized the puzzle immediately as it is a real-life example of how public- and private-key encryption works (that stuff your web browser uses all the time so you aren't thieved of your credit card info). typically, the story involves Alice (A) trying to contact Bob (B) without Eve (Eavesdropper) finding out the message. this time they used john and mary and left eve to be understood as the general populous. the first answer is an example of private-key encryption, the second is public-key.
John and Mary have fallen in love, via the internet, and John wishes to send Mary a ring. Unfortunately they live in a country where anything sent through the mail will be stolen unless it is enclosed in a padlocked box.

John and Mary each have plenty of padlocks, but none to which the other has a key. How can John get the ring safely into Mary's hands?

_____________________________________

1. John puts the ring in a box, padlocks the box, and sends it in the post to Mary. Mary attaches a padlock of her own, so there are now 2 padlocks on the box, and sends the box back to John. John uses his key to remove the original padlock, and sends the box back to Mary. Mary uses her key, removes the remaining padlock, opens the box and retrieves the ring.

2. John sends Mary an empty box that has been locked with a padlock. Attached to the hasp of the padlock is a key. John then sends a second box to Mary; this box can be opened using the key that was attached to box 1. Inside box 2 is the ring.
see, computers aren't hard. i thought that was cool.

Labels: , , ,

6 Comments:

Anonymous Anonymous said...

Is one method more secure than the other?

12:20 PM, February 11, 2009  
Blogger slyght said...

public-key encryption is estimated to be several hundred-thousand times slower than private key encryption due to it's asymmetric nature. this asymmetry tends toward better security at the cost of speed. still, this speed loss is insignificant at your end considering that your computer does several million computations per second.

1:01 PM, February 11, 2009  
Blogger themom said...

Would that have worked on a 440 pound box?

3:09 PM, February 11, 2009  
Blogger adhyapaka said...

When you say things like "see computers aren't hard" after explaining something like encryption in terms that I should understand (um, but still don't understand) that me and all of the non-mathematical/logical minds of world die a little inside...thanks. thanks a lot. :-)

11:19 PM, February 12, 2009  
Blogger slyght said...

it's not that tough, i need to practice my teaching skills. this description might be better suited to a sketch on paper, or better yet, a live demonstration.

9:05 AM, February 13, 2009  
Anonymous Anonymous said...

Who gives a shit about encryption?! Pay attention to your goddam Facebook page and accept my Scramble challenge, ya twat!!! What? Afraid of words???
Wayne

12:59 AM, February 14, 2009  

Post a Comment

<< Home