Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClearShare ¶
type ClearShare struct {}
type EncryptedShare ¶
type EncryptedShare = ClearShare
func (EncryptedShare) Decrypt ¶
func (e EncryptedShare) Decrypt(priv []byte) ClearShare
type Shamir ¶
type Shamir struct {
// contains filtered or unexported fields
}
func NewShamirSystem ¶
func (*Shamir) Combine ¶
func (s *Shamir) Combine(c []ClearShare) []byte
func (*Shamir) GeneratePolynomial ¶
func (s *Shamir) GeneratePolynomial(deg int) ShamirPoly
type ShamirPoly ¶
func (ShamirPoly) String ¶
func (p ShamirPoly) String()
Click to show internal directories.
Click to hide internal directories.