pub type PointSharingPolynomial = StandardFormPolynomial<MaybePoint>;Expand description
Represents the point-sharing polynomial available to the dealer in standard form, composed of a set of point coefficients.
Aliased Type§
pub struct PointSharingPolynomial {
pub coefficients: Vec<MaybePoint>,
}Fields§
§coefficients: Vec<MaybePoint>The ordered set of coefficients, starting with the constant term.
Implementations§
Source§impl PointSharingPolynomial
impl PointSharingPolynomial
Issue a share at the given input x.
Source§impl PointSharingPolynomial
impl PointSharingPolynomial
Sourcepub fn derive_secret(&self, x: MaybeScalar) -> [u8; 32]
pub fn derive_secret(&self, x: MaybeScalar) -> [u8; 32]
Derive a secret c by hashing the output point produced by
evaluating the polynomial on x.