Public-Private Key Encryption - HTTPS Protocol | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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...

25th Jul 2021, 3:00 PM
Yahel
Yahel - avatar
2 Answers
+ 2
There is a cryptography topic in community lessons. https://www.sololearn.com/learn/9893/?ref=app
25th Jul 2021, 3:26 PM
Tibor Santa
Tibor Santa - avatar
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.
2nd Aug 2021, 12:10 AM
N00B