Hi,

I need some clarification on Public and Private keys that a server maintains its own side. All documents say that the client will use the server's public key to encrypt the data while the server will make use of its private keys to decrypt.

Is it not that the data can be decrypted using the public key itself? How and what is encryption logic implemented in such a case?

Please do provide some logical explanation for the same - how does this encryption / decryption work?

Regards,
Prakash