package
1.1.4
Repository: https://github.com/dosnetwork/core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CoefficientsToPriPoly returns a PriPoly based on the given coefficients.
NewPriPoly creates a new secret sharing polynomial using the provided cryptographic group, the secret sharing threshold t, and the secret to be shared s.
NewPubPoly creates a new public commitment polynomial.
RecoverCommit reconstructs the secret commitment p(0) from a list of public shares using Lagrange interpolation.
RecoverPriPoly takes a list of shares and the parameters t and n to reconstruct the secret polynomial completely, i.e., all private coefficients.
RecoverSecret reconstructs the shared secret p(0) from a list of private shares using Lagrange interpolation.

# Structs

PriPoly represents a secret sharing polynomial.
PriShare represents a private share.
PubPoly represents a public commitment polynomial to a secret sharing polynomial.
PubShare represents a public share.