Riddles about post office

logiccleansimpleclever

A man needs to send important documents to his friend across the country. He buys a suitcase to put the documents in, but he has a problem: the mail system in his country is very corrupt, and he knows that if he doesn't lock the suitcase, it will be opened by the post office and his documents will be stolen before they reach his friend. There are lock stores across the country that sell locks with keys. The only problem is that if he locks the suitcase, he has no way to send the key to his friend so that the friend will be able to open the lock: if he doesn't send the key, then the friend can't open the lock, and if he puts the key in the suitcase, then the friend won't be able to get to the key. The suitcase is designed so that any number of locks can be put on it, but the man figures that putting more than one lock on the suitcase will only compound the problem. After a few days, however, he figures out how to safely send the documents. He calls his friend who he's sending the documents to and explains the plan. What is the man's plan?
The plan is this: 1. The man will put a lock on the suitcase, keep the key, and send the suitcase to his friend. 2. The friend will then put his own lock on the suitcase as well, keep the key to that lock, and send the suitcase back to the man. 3. The man will use his key to remove his lock from the suitcase, and send it back to the friend. 4. The friend will remove his own lock from the suitcase and get to the documents. Search: Man-in-the-middle attack
86.91 %
43 votes
logicsimpleclean

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
81.57 %
52 votes
1
CHOOSE ANOTHER >
Page 1 of 1.