James ordered a fishing rod, priced at $3.56. Unfortunately, James is an Eskimo who lives in a very remote part of Greenland and the import rules there forbid any package longer than 4 feet to be imported. The fishing rod was 4 feet and 1 inch, just a little too long, so how can the fishing rod be mailed to James without breaking the rules? Ideally James would like the fishing rod to arrive in one piece!
Insert the fishing rod into a box which measures 4 feet on all sides, the fishing rod will fit within the diagonal of the box with room to spare.
A boy goes and buys a fishing pole that is 6' 3" long. As he goes to get on the bus, the driver stops him. The driver tells him that he can't take anything longer than 6' onto the bus. The boy goes back into town, purchases one more thing, and the driver allows the boy on the bus. What did the boy buy, and what did he do with it?
The boy bought 6' long box. He put the fishing pole in diagonally and the entire package was only 6'!
Suppose you want to send in the mail a valuable object to a friend. You have a box which is big enough to hold the object. The box has a locking ring which is large enough to have a lock attached and you have several locks with keys. However, your friend does not have the key to any lock that you have. You cannot send the key in an unlocked box since it may be stolen or copied. How do you send the valuable object, locked, to your friend - so it may be opened by your friend?
Send the box with valuable object and a lock attached and locked. Your friend attaches his or her own lock and sends the box back to you. You remove your lock and send it back to your friend. Your friend may then remove the lock she or he put on and open the box.
Search: Man-in-the-middle attack