
In a static exchange usually both parties always reuse their private keys, which implies that if they re-run the Diffie-Hellman exchange more than once with each other they always get the same shared secret $K$. If so, does static DH refer to exchanges between the same two parties? Then when you shutdown your computer it will "forget" the resulting shared secret $K$ and tomorrow when you connect to Stack Exchange again, it will have to run another Diffie-Hellman exchange. In the context of the internet this usually means that if you connect to, say, Stack Exchange today it will run a Diffie-Hellman exchange.

This happens whenever either a party feels like it or a party has forgotten the resulting shared secret from the last execution. What is considered an exchange? A session of information exchanging between to parties?Īn exchange is an execution of the Diffie-Hellman protocol. Similarly, $A=g^a\bmod p$ and $B=g^b\bmod p$ are also called the "public keys". ThanksĪre "private keys" in the context of diffie-hellman refer to the private $a$ and $b$ that Alice and bob privately select respectively? It'll be great if someone could clarify this whole subject.

#Ethereal vs ephemeral generator
Bob and Alice agree publicly on a generator ( $g$) and a prime modulo ( $p$).

Let's briefly recall how diffie-hellman basically works: I feverishly searched the web and couldn't find a clear explanation about what exactly is "Ephemeral diffie-hellman".
