Public-Private Key Encryption - HTTPS Protocol | Sololearn: Learn to code for FREE!

0

Public-Private Key Encryption - HTTPS Protocol

I understand that each client generates a private key and a public key. In order for the plain-text message to be encrypted and sent securely through the internet, with what key is the message encrypted? With what is it decoded? I'd like a walk through of the process...

7/25/2021 3:00:54 PM

Yahel

2 Answers

New Answer

+2

There is a cryptography topic in community lessons. https://www.sololearn.com/learn/9893/?ref=app

0

The key exchange is performed with (elliptic curve) Diffie-Hellman. Via one or more HMAC-based key derivation function(s) (HKDF(s)), the symmetric key is thus created, which is derived from the master secret, and can be used to encrypt the data with AES. Because the key is symmetric, decryption is the same as encryption.