Showing posts with label package. Show all posts

Wednesday, April 8, 2015

The Package

No comments :
G answered his ringing mobile phone. "G here."

"It's H. Do you have the package?"

"Yes. I have the object, in its box."

"Very good," said H. "So send the box to me using the lock I gave you last time we met."

"I'm afraid I can't," said G hestitantly.

"Why not? The locking ring on the box is more than large enough to fit a lock on."

"I seem to have um, misplaced the lock."

"You what!" snarled H. "Do you have any other locks?"

"Yes, but you don't have the keys to them. We can't risk sending an unsecured box, nor an unsecured key. Sending an unlocked lock is out of the question, because they re-lock themselves automatically after a 2 minute timeout."

"Ah, all is not lost... I have an spare lock here... How much time do we have?"

"Plenty," replied G.

"Good. There is a way…
adaugi alt

How can they get the box and the object from G to H without any security risk?

 

Notes:
  • They can't meet in person -- that would render the puzzle pointless.
  • No, G can't go and look for the misplaced lock!
  • You cannot send a key by itself or in an unlocked box.

The Package Puzzle Solution

With the object in the box, G locks it with one of his own locks. He then sends the box to H. H attaches his own lock in addition to G's and then sends it back. G removes his lock and then sends it to H again.