I was checking this explanation of Diffie-Hellman algorithm using colors.
Alice and Bob want to communicate privately.
- A Common Color
Cis agreed upon by Alice and Bob. - Eve knows about the
Cbecause it is communicated over the Network. - Alice mixes her Private Color
AtoCand sends Alice's MixtureACover the Network. - Bob mixes his Private Color
BtoYellowand sends Bob' MixtureBCover 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.