Hello,

I have looked all over the Internet for the answer to this question.

I know that, to send data to the server using SSL, you encrypt it using the servers public key. I also know that the private key is used to decrypt it. What I don't understand is how you can't decrypt it with the public key, i.e. why could a hacker reverse/calculate the reverse of the encryption.

The only way I think it would work is if the public and private key were mathematically smiler/derived from each over. If this is the case, why can't the public key be used to find the private key?

This is all really confusing and I really need to know the answer. My brain will pop if I have to think about it any longer ;) Hope you understand what I am asking here. ;)

Thanks in advance.