Asymmetric encryption
Asymmetrical encryption is also known as public key cryptography, which is a relatively secure method compared to symmetric encryption. In this method, two keys are used. One key is used for encryption and the other key is used for decryption. The public key is what its name suggests— public. It is made available to a browser when accessing the web server during the SSL handshake process. On the other hand, the private key must remain confidential and secure to its respective owner. Let's assume that the client generates the secret, encrypts it using the server's RSA public key and sends it to the server, which decrypts it using its private key. It is very important to protect the private key, because if the key is lost, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access