I'm having some difficulty understanding asymmetric (public key+symetric) encryption.
My understanding is the public key is known by everyone...(which in itself seems to make it not encrypted at all) then computer A randomly selects a symetric key, encrypts it with the public key and sends it to computer B. Computer B decrypts using public and now has the same symetric key. They then both use the symetric key for secure communication...
*edit* I don't get how a computer can encrypt a message and send it and the other computer can't decrypt it? I know it's supposed to only be decrypted with both keys...but if a computer can encrypt something, how can't the other computer backdrive the original message?
But My issue with this, is how is this secure? If anyone is snooping the connection they will see you sending the publicly encrypted symetric key and decrypt it themselves and they can continue to snoop as much as they want? Am I missing something or is this true?
The only way I can see this being secure is if A+B share the key via a different medium that is not monitored by someone.
My understanding is the public key is known by everyone...(which in itself seems to make it not encrypted at all) then computer A randomly selects a symetric key, encrypts it with the public key and sends it to computer B. Computer B decrypts using public and now has the same symetric key. They then both use the symetric key for secure communication...
*edit* I don't get how a computer can encrypt a message and send it and the other computer can't decrypt it? I know it's supposed to only be decrypted with both keys...but if a computer can encrypt something, how can't the other computer backdrive the original message?
But My issue with this, is how is this secure? If anyone is snooping the connection they will see you sending the publicly encrypted symetric key and decrypt it themselves and they can continue to snoop as much as they want? Am I missing something or is this true?
The only way I can see this being secure is if A+B share the key via a different medium that is not monitored by someone.
Last edited:
