Sunday, May 11, 2014

Key Exchange Puzzle

Problem

Jan and Maria have fallen in love (via the internet) and Jan wishes to mail her a ring. Unfortunately,
they live in the country of Kleptopia where anything sent through the mail will be stolen unless it
is enclosed in a padlocked box. Jan and Maria each have plenty of padlocks, but none to which the
other has a key. How can Jan get the ring safely into Maria's hands?

Solution

Diffe Hilemann key exchange work's in a similar way...

Jan sends the ring in a box with padlock A. Maria receives it she put her padlock B and sends it back to Jan. Jan opens his padlock A and send it back to Maria, who then opens her padlock B to get the ring.

References

0 comments:

Post a Comment