kaplan_meier.helper module

Module implements the helper party. This party is introduced for efficiency purposes as well as enabling Shamir secret sharing. Shamir secret sharing requires at least three parties.

class kaplan_meier.helper.Helper(*args, **kwargs)[source]

Bases: Player

Helper player that is added to the MPC protocol for efficiency purposes

__init__(*args, **kwargs)[source]

Initializes the helper party

Parameters:
  • args (Any) – arguments to pass on to base class

  • kwargs (Any) – keyword arguments to pass on to base class

async start_protocol()[source]

Starts and runs the protocol

Return type:

None