Expand description
Stateless operations useful in a DKG/Resharing procedure.
Functionsยง
- construct_
public - Construct a new public polynomial by summing all commitments.
- evaluate_
all - Evaluates the polynomial at
n
indices. - generate_
shares - Generate shares and a commitment.
- recover_
public - Recover public polynomial by interpolating coefficient-wise all polynomials.
- recover_
public_ with_ weights - Recover public polynomial by interpolating coefficient-wise all polynomials using precomputed Barycentric Weights.
- verify_
commitment - Verify that a given commitment is valid for a dealer. If a previous polynomial is provided, verify that the commitment is on that polynomial.
- verify_
share - Verify that a given share is valid for a specified recipient.