Definition
Ephemeral Diffie-Hellman
Ephemeral Diffie-Hellman (DHE or EDH) is a variant of the Diffie-Hellman key exchange in which each party generates a fresh, temporary private key for every session rather than reusing a long-term static key.
Let
be a cyclic group of prime order with generator . For each session:
- Alice chooses
uniformly at random, computes , and sends to Bob. - Bob chooses
uniformly at random, computes , and sends to Alice. - Both derive the shared secret
via The private exponents
and are discarded after the session ends.