I'm trying to understand how encryption works.
This is my understanding. Symmetric key is the usage of the same key on both computers (sending computer and receiving computer). Pretty much a private key between the two, right?
Asymmetric key is the usage of two keys, public and private on each computer, right?
Now, I read two different articles online and each one has the data different.
When a sending computer encrypts a msg, it first encrypts the msg with its private key and then it encrypts it with a public key. or is it the other way... the sending computer encrypts the msg with the public key and then with the private key... ?????