I'm trying to learn & understand the difference between Public Key encryption (RSA) & private-key encryption, such as AES or SSL. Is there a simple explanation?
Actually, if I understand it correctly, SSL uses symmetric encryption to bootstrap a connection to asymmetric encryption. But that's beside the point.
The difference between symmetric and asymmetric encryption is the number of keys used.
Symmetric encryption uses a single key for both encryption and decryption. Both parties must be aware of the key to transmit a message securely, which makes secure distribution of keys problematic.
Asymmetric encryption uses two mathematically-related keys, one for encryption and one for decryption. The "public" key can be used by anyone to encrypt a message, but only the holder of the "private" key can decypher the message.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.