Two-player runtime based on the Paillier crypto system.
|
|
|
|
|
prss_share_random(self,
field)
Generate a share of a uniformly random element. |
source code
|
|
|
|
input(self,
inputters,
field,
number=None)
Input *number* to the computation. |
source code
|
|
|
|
share(self,
inputters,
field,
number=None)
Share *number* additively. |
source code
|
|
|
|
output(self,
share,
receivers=None)
Open share to receivers (defaults to all players). |
source code
|
|
|
|
open(self,
share,
receivers=None)
Open *share* to *receivers* (defaults to both players). |
source code
|
|
|
|
|
|
|
|
|
Inherited from runtime.Runtime:
__init__,
abort,
activate_reactor,
fork_pc,
handle_deferred_data,
increment_pc,
preprocess,
print_transferred_data,
process_deferred_queue,
process_queue,
schedule_callback,
schedule_complex_callback,
shutdown,
synchronize,
unfork_pc,
wait_for
|