Verifying equivalence of a secret
Alice & Bob are both secret quadruple agents who could be working for the US, Russia or China. They want to come up with a scheme that would: a) if they are both working for the same side, prove this to each other so they can talk freely. b) if they are working for different sides, not expose any additional information about which side...