C# Class MpcLib.RandomGeneration.AllToAllGeneration.AllToAllGeneration

Inheritance: SyncProtocol
Show file Open project: mahdiz/mpclib

Public Properties

Property Type Description
Prime System.Numerics.BigInteger

Public Methods

Method Description
AllToAllGeneration ( SyncParty p, IList pIds, System.Numerics.BigInteger prime ) : System
AllToAllGeneration ( SyncParty p, IList pIds, System.Numerics.BigInteger prime, SafeRandom randGen ) : System
GenerateRandom ( ) : BigZp
Run ( ) : void

Method Details

AllToAllGeneration() public method

public AllToAllGeneration ( SyncParty p, IList pIds, System.Numerics.BigInteger prime ) : System
p SyncParty
pIds IList
prime System.Numerics.BigInteger
return System

AllToAllGeneration() public method

public AllToAllGeneration ( SyncParty p, IList pIds, System.Numerics.BigInteger prime, SafeRandom randGen ) : System
p SyncParty
pIds IList
prime System.Numerics.BigInteger
randGen MpcLib.Common.StochasticUtils.SafeRandom
return System

GenerateRandom() public method

public GenerateRandom ( ) : BigZp
return BigZp

Run() public method

public Run ( ) : void
return void

Property Details

Prime public property

public BigInteger,System.Numerics Prime
return System.Numerics.BigInteger