I understand that in end to end encryption the message is encrypted and only the recipient has the key to Decrypt it. How is the key transmitted, and how can the key not get intercepted with the message?

  • @morphballganon
    link
    English
    27 months ago

    With Diffie-Hellman, wouldn’t the two private keys need to be the same to give the same result?

    • @[email protected]
      link
      fedilink
      English
      22 months ago

      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.