//
pkg.gl
Category
github.com/cloudflare/circl
secretsharing
package
1.6.0
Repository:
https://github.com/cloudflare/circl.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
4
Dependents
1
Files
93 SLOC
#
Functions
New
New returns a SecretSharing providing a (t,n) Shamir's secret sharing.
Recover
Recover returns a secret provided more than t different shares are given.
Verify
Verify returns true if the share s was produced by sharing a secret with threshold t and commitment of the secret c.
#
Structs
SecretSharing
SecretSharing provides a (t,n) Shamir's secret sharing.
Share
Share represents a share of a secret.
#
Type aliases
SecretCommitment
SecretCommitment is the set of commitments generated by splitting a secret.