r/programming • u/dominatrix-octopus • Jan 16 '18
Cryptography: Diffie-Hellman key exchange explained intuitively using colors
https://youtu.be/YEBfamv-_do?t=2m18s
2.5k
Upvotes
r/programming • u/dominatrix-octopus • Jan 16 '18
View all comments
Show parent comment
2
u/xconde Jan 16 '18
I’m not sure this classified as PKE.
With public key encryption you need two key pairs to establish two-way communication.
What usually happens though, is someone picks a symmetric key and uses someone’s public key to share it with them.
With DH, this shared secret is the result of the process. Same end result but different process.