Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
)Functions ¶
func CheckIndexes ¶
Check share ids of Shamir's Secret Sharing, return error if duplicate or 0 value found
func Create ¶
func Create(ec elliptic.Curve, threshold int, secret *big.Int, indexes []*big.Int, rand io.Reader) (Vs, Shares, error)
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
Types ¶
Click to show internal directories.
Click to hide internal directories.