As I send this question as a request to yahoo's server, the information in the request will be encrypted with yahoo's public key (which is available for everyone). Then the information will arrive at the server. There it will be decrypted with yahoo's server private key. Will Yahoo's server send me a response
after encrypting it with its private key?!? Can I then decrypt with its public key?!? I don't understand
that bit..it is not correct.. How will the server encrypt its response and how do I decrypt it?
UPDATE
Some clarification:
I get the public key of yahoo, encrypt a message, and send the information to yahoo. Yahoo decrypts
the information with its private key (this is the part that I understand). From Yahoo's response stage..
what happens? How does it encrypt its information so that the client side will know how to decrypt it?