Cryptography problem?

send securely
Mist asked:

What would be a solution to following problem?
Shipping the diamond. A person must send a 200 carat polished diamond (or something quite valuable) to a customer, through an untrustworthy carrier, who supplies the person a container but does not know the contents that will go into the box. The sending person and the recipient customer both have a lock with a key that is not identical. The carrier’s transportation can be repeated. How will the sending person securely send the diamond to the customer without the carrier taking the contents and run away with it? What is the concept behind the solution?






2 Responses to 'Cryptography problem?'

  1. short_pale_n_ugly - May 24th, 2009 at 9:32 pm

    Public key cryptography.

    Buyer has two keys, one to encrypt data sent to him (public key) and one to decrypt data encrypted with the public key (private key)

    Buyer sends seller public key. Seller encrypts data with public key, sends encrypted content to buyer. Buyer decrypts with private key.

  2. theprodigy4392 - May 28th, 2009 at 6:55 am

    send the carrier’s money first. then have the recipient open the box and hold the money. send the carrier back with the empty box to the sender. the sender sends the diamond and the carrier only gets paid on safe delivery.


Leave a Reply