C# Class MpcLib.MpcProtocols.Bgw.Vss.BgwVss

Datei anzeigen Open project: mahdiz/mpclib

Public Methods

Method Description
ShareByzantineCase ( Zp secret, int numPlayers, int polynomDeg ) : IList

Creates a random polynomial f(x,y) and then to create from it for the i-th player two polynomials : fi(x) = f(x,w^i) and gi(y) = f(w^i,y).

Private Methods

Method Description
GenerateF_i_xPolynomial ( ZpMatrix f_x_y, Zp secret, int playerNum ) : IList
GenerateG_i_yPolynomial ( ZpMatrix f_x_y, Zp secret, int playerNum ) : IList

Method Details

ShareByzantineCase() public static method

Creates a random polynomial f(x,y) and then to create from it for the i-th player two polynomials : fi(x) = f(x,w^i) and gi(y) = f(w^i,y).
public static ShareByzantineCase ( Zp secret, int numPlayers, int polynomDeg ) : IList
secret Zp
numPlayers int
polynomDeg int
return IList