New answers tagged multiparty-computation
You are correct, if you do things the way you describe, A would be able to decrypt B's private data. So don't do it that way. Instead, since B is to know the answer, let B encrypt his private input with his own public key. He sends that to A. A encrypts her private input with B's public key, then runs the computation. A then returns the encrypted answer to ...
Top 50 recent answers are included