Paillier crypto system and two-party runtime.
The PaillierRuntime is a special two-player runtime based on the homomorphic Paillier crypto system.
From the paper “Public-Key Cryptosystems Based on Composite Degree Residuosity Classes” by Pascal Paillier in EUROCRYPT 1999, 223-238.
Two-player runtime based on the Paillier crypto system.
Addition of shares.
Communication cost: none.
Input number to the computation.
The input is shared using the share() method.
Multiplication of shares.
Open share to receivers (defaults to both players).
Generate a share of a uniformly random element.
Share number additively.