I was checking this explanation of Diffie-Hellman algorithm using colors.
Alice and Bob want to communicate privately.
- A Common Color
C
is agreed upon by Alice and Bob. - Eve knows about the
C
because it is communicated over the Network. - Alice mixes her Private Color
A
toC
and sends Alice's MixtureAC
over the Network. - Bob mixes his Private Color
B
toYellow
and sends Bob' MixtureBC
over the Network. - Alice and Bob add their own color to the other's mixture BCA = ACB. They arrive at a common, color.
However, I have the following question?
If Eve knows that the common color is C
, and Alice's Mixture AC
, can't she deduce Alice's secret color using AC
- C
? At-least in RGB color space, this is easy to calculate right?
In summary, will this algorithm work if the common color C
is shared over the network?
PS: I am assuming that volume of the colors is the same as the video doesn't talk about quantity.