Hacker News new | ask | show | jobs
by helloasdfasdf 3170 days ago
The colour analogy is a bit off, despite being a good way to get the basis of the protocol across.

The problem is with what he explains as a one-way function: https://s3.amazonaws.com/static.kaytor.ca/screenshots/incorr...

While it's true that it's not possible to derive the input colours given only the output, in the case of DH both the output and the yellow (common) colour is available to Eve, which makes it trivial to reverse the other input.

The actual property a one-way function needs to be suitable for DH is to remain hard to reverse when both the output and one of the inputs is known.