We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in poly.go
func randomPoly(degree int) *Poly { coeff := make([]bls.FQ, degree + 1) rng := rng.NewUniformGenerator(123123421) for i := range coeff { fq:= bls.NewFQRepr(uint64(rng.Int64())) coeff[i] = bls.FQReprToFQ(fq) } return &Poly { coeff: coeff, } }
you make some code like rng := rng.NewUniformGenerator(123123421)
rng := rng.NewUniformGenerator(123123421)
but according to the library specification,
rng.NewUniformGenerator(SEED)
poly.go is not test file, so I think it is not right to fix the seed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
in poly.go
you make some code like
rng := rng.NewUniformGenerator(123123421)
but according to the library specification,
poly.go is not test file, so I think it is not right to fix the seed.
The text was updated successfully, but these errors were encountered: