package
3.1.0
Repository: https://github.com/dedis/kyber.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package pvss implements public verifiable secret sharing as introduced in "A Simple Publicly Verifiable Secret Sharing Scheme and its Application to Electronic Voting" by Berry Schoenmakers.
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.
RecoverPubPoly reconstructs the full public polynomial from a set of public shares using Lagrange interpolation.
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.