Versions in this module Expand all Collapse all v1 v1.0.0 Aug 2, 2025 Changes in this version + var ErrMaxIterations = fmt.Errorf("sample: failed to generate after %d iterations", maxIterations) + func IntervalEps(rand io.Reader) *saferith.Int + func IntervalL(rand io.Reader) *saferith.Int + func IntervalLEps(rand io.Reader) *saferith.Int + func IntervalLEpsN(rand io.Reader) *saferith.Int + func IntervalLEpsN2(rand io.Reader) *saferith.Int + func IntervalLEpsRootN(rand io.Reader) *saferith.Int + func IntervalLN(rand io.Reader) *saferith.Int + func IntervalLN2(rand io.Reader) *saferith.Int + func IntervalLPrime(rand io.Reader) *saferith.Int + func IntervalLPrimeEps(rand io.Reader) *saferith.Int + func IntervalScalar(rand io.Reader, group curve.Curve) *saferith.Int + func ModN(rand io.Reader, n *saferith.Modulus) *saferith.Nat + func Paillier(rand io.Reader, pl *pool.Pool) (p, q *saferith.Nat) + func Pedersen(rand io.Reader, phi *saferith.Nat, n *saferith.Modulus) (s, t, lambda *saferith.Nat) + func QNR(rand io.Reader, n *saferith.Modulus) *saferith.Nat + func Scalar(rand io.Reader, group curve.Curve) curve.Scalar + func ScalarPointPair(rand io.Reader, group curve.Curve) (curve.Scalar, curve.Point) + func ScalarUnit(rand io.Reader, group curve.Curve) curve.Scalar + func UnitModN(rand io.Reader, n *saferith.Modulus) *saferith.Nat