Hacker News new | ask | show | jobs
by rtkwe 2872 days ago
> The classic example is developing an algorithm that allows two people to figure out who is paid more without either revealing what their salary is.

Is there actually any way to do that without leaking the salary? If Bob wants to know Alice's salary couldn't he just run the calculation multiple times with different numbers as his salary?

1 comments

Often these algorithms involve information passing back and forth between the two parties, so Bob wouldn't be able to re-run the computation without Alice's help.