@@ 29,9 29,9 @@ func NewPoly(coefficients []*big.Int, ballot []byte) *Poly {
return &Poly{constant, coefficients}
}
-// creates a random polynomial of the given degree, uses at least `entropy' bits
-// of entropy for the random coefficients, and assigns the ballot to the
-// constant term
+// NewRandomPoly generates a random `degree' degree polynomial, using at least
+// `entropy' bits of entropy for the random coefficients and inserting `ballot'
+// as the constant term.
func NewRandomPoly(degree uint, entropy uint, ballot []byte) *Poly {
coefficients := make([]*big.Int, degree)