This is a solution to problem 15 on the hard interview questions
It's a simple one. Alice
in chest, puts her padlock
on chest, locks her padlock. Eve
sends chest to Bob
. Bob puts his padlock on the chest and locks it. Eve sends chest to Alice. Alice unlocks her padlock and keeps it. Eve sends chest to Bob. Bob unlocks his padlock and opens chest.