3
$\begingroup$

Suppose Alice knows a secret number $a$, and Bob knows a secret number $b$.

Is there a simple way for Alice and Bob to know who has the lowest number, without Alice & Bob exchanging their numbers ?

$\endgroup$
8
  • 5
    $\begingroup$ This is Yao's Millionaires' Problem: en.wikipedia.org/wiki/Yao's_Millionaires'_Problem $\endgroup$ – Seth Jul 21 '14 at 21:27
  • $\begingroup$ @Seth : $\;\;\;$ It's at least approximately that problem. $\:$ If ties are supposed to be broken at random, $\hspace{.41 in}$ then this question's problem may be more difficult. $\;\;\;\;\;\;\;$ $\endgroup$ – user991 Jul 21 '14 at 22:00
  • $\begingroup$ @RickyDemer In that case a tie could be broken with Blum's "coin-flipping by telephone". $\endgroup$ – fkraiem Jul 22 '14 at 9:46
  • $\begingroup$ @fkraiem remember though, you would have to always run the coin-flip (whether there was a tie or not), otherwise you leak whether or not there was a tie. My point is, things can get complicated. $\endgroup$ – mikeazo Jul 22 '14 at 12:56
  • $\begingroup$ @fkraiem : $\;\;\;$ How would that work? $\:$ Any use of that paper that I can think of would leak $\hspace{.83 in}$ which side a tie would have been broken in favor of. $\;\;\;\;\;\;\;$ $\endgroup$ – user991 Jul 22 '14 at 17:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.