C# Класс MpcLib.MpcProtocols.Bgw.Vss.BgwVss

Показать файл Открыть проект

Открытые методы

Метод Описание
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).

Приватные методы

Метод Описание
GenerateF_i_xPolynomial ( ZpMatrix f_x_y, Zp secret, int playerNum ) : IList
GenerateG_i_yPolynomial ( ZpMatrix f_x_y, Zp secret, int playerNum ) : IList

Описание методов

ShareByzantineCase() публичный статический Метод

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
Результат IList