from
https://ldapwiki.com/wiki/Diffie-Hellman%20key-exchangeBob and Alice choose yellow.
Alice mixes yellow with magenta (magenta is Alice's secret color)
255, 255, 0 + 255, 0, 255 = 255, 128, 128
and sends this to Bob
Bob mixes yellow with cyan (cyan is Bob's secret color)
255, 255, 0 + 0, 255, 255 = 128, 255, 128
and sends this to Alice
Alice mixes 128, 255, 128 with magenta
128, 255, 128 + 255, 0, 255 + 255 = (255+128)/2, 128, (255 +128)/2
Bob mixes 255, 128, 128 with cyan
255, 128, 128 + 0, 255, 255 = 128, (255+128)/2, (255 +128)/2
Which does not work.