C# Class MpcLib.SecretSharing.QuorumSharing

Afficher le fichier Open project: mahdiz/mpclib

Méthodes publiques

Méthode 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 méthode

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
Résultat Zp

CreateReshares() public static méthode

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
Résultat IList

CreateReshares() public static méthode

public static CreateReshares ( Zp secret, int newQuorumSize, int polyDeg, IList &coeffs ) : IList
secret Zp
newQuorumSize int
polyDeg int
coeffs IList
Résultat IList