Documentation ¶
Index ¶
- Variables
- func AppendByt(byts ...[]byte) []byte
- func CombineXY(shares [][]*big.Int) (*big.Int, error)
- func EvaluatePolynomial(polynomial []*big.Int, value *big.Int) *big.Int
- func Hash_class(data []byte) ([]byte, error)
- func HexToBytes(s string) ([]byte, error)
- func Kdf(secret []byte) (key []byte, err error)
- func LambdaS(i int, shares []*big.Int) (*big.Int, *big.Int, error)
- func ZeroPad(b []byte, leigth int) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var Curve elliptic.Curve = secp256k1.SECP256K1()
Functions ¶
func EvaluatePolynomial ¶
*
- Evauluates a polynomial with coefficients specified in reverse order:
- evaluatePolynomial([a, b, c, d], x):
- returns a + bx + cx^2 + dx^3
*
func Hash_class ¶
func HexToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.