0

I recently watched this video by Computerphile, where Mike explains the mathematics of the Diffie Hellman exchange. I've been wondering, since as explained $g$, $g^a$ and $g^b$ is public, can't you just do this equation $$ \frac{1}{log_{(g^a)}(g)} = a $$ and $$ \frac{1}{log_{(g^b)}(g)} = b $$ to find their private keys? I might be dumb, please explain this.

Henryk
  • 3
  • 1

1 Answers1

1

Computing the discrete log is the hard part. Remember that the logarithms are taking place in the group, not the real numbers.

David Lui
  • 6,295