C# Класс MpcLib.SecretSharing.QuorumSharing

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

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

Метод Описание
CombineReshares ( IList reshares, int newQuorumSize, int prime ) : Zp

Each party in the new quorum needs to call this with the shares received from the old quorum to calculate its share

CreateReshares ( Zp secret, int newQuorumSize, int polyDeg ) : IList

Creates new shares that should be distributed to each of the parties in the new quorum

CreateReshares ( Zp secret, int newQuorumSize, int polyDeg, IList &coeffs ) : IList

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

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

Each party in the new quorum needs to call this with the shares received from the old quorum to calculate its share
public static CombineReshares ( IList reshares, int newQuorumSize, int prime ) : Zp
reshares IList
newQuorumSize int
prime int
Результат Zp

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

Creates new shares that should be distributed to each of the parties in the new quorum
public static CreateReshares ( Zp secret, int newQuorumSize, int polyDeg ) : IList
secret Zp
newQuorumSize int
polyDeg int
Результат IList

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

public static CreateReshares ( Zp secret, int newQuorumSize, int polyDeg, IList &coeffs ) : IList
secret Zp
newQuorumSize int
polyDeg int
coeffs IList
Результат IList