Discover Packages
github.com/zeta-chain/tss-lib
crypto
vss
package
Version:
v0.1.7
Opens a new window with list of versions in this module.
Published: Oct 27, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrNumSharesBelowThreshold = fmt .Errorf ("not enough shares to satisfy the threshold")
)
Check share ids of Shamir's Secret Sharing, return error if duplicate or 0 value found
Returns a new array of secret shares created by Shamir's Secret Sharing Algorithm,
requiring a minimum number of shares to recreate, of length shares, from the input secret
type Share struct {
Threshold int
ID,
Share *big .Int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.