title: In Public Key Cryptography how the server decrypts the message from client?
body: <p>In the Public Key Cryptography all I know is that the public key in the server is to encrypt the message and the client which has the private key can decrypt that message which is fine.</p>
  
  <p>The part which I don't understand is that as the server has only the public key  to encrypt the message how it would decrypt the response from the client. I believe that the public can't be used to decrypt the response from the client.</p>
  
  <p>Also how the client encrypts a message to the server as the private key is only used for decrypting the message and not for encrypting.</p>
  
  <p>Sorry for my ignorance. I have searched the internet and somehow the answers to these are eluding from me.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Thanks,
  Mohamed</p>