31
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 15 Aug 2023
31 points (100.0% liked)
Explain Like I'm Five
14205 readers
1 users here now
Simplifying Complexity, One Answer at a Time!
Rules
- Be respectful and inclusive.
- No harassment, hate speech, or trolling.
- Engage in constructive discussions.
- Share relevant content.
- Follow guidelines and moderators' instructions.
- Use appropriate language and tone.
- Report violations.
- Foster a continuous learning environment.
founded 1 year ago
MODERATORS
With Diffie-Hellman, wouldn't the two private keys need to be the same to give the same result?
No. The wiki article explains it better than I can.
https://en.m.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange
The two private keys represent two channels of information flow. One channel for each direction.
When Alice talked to Bob, they’re using Bob’s keys. When Bob talks to Alice, they’re using Alice’s keys.
If it’s a “two-way” conversation, that’s just two separate one-way channels being combined at the end into what seems like a single, two-way channel.