C# Class MpcLib.SecretSharing.QuorumSharing

Datei anzeigen Open project: mahdiz/mpclib

Public Methods

Method Description
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

Method Details

CombineReshares() public static method

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
return Zp

CreateReshares() public static method

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
return IList

CreateReshares() public static method

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