fn from_digest<D>(digest: D) -> Self
    where
        D: Digest<OutputSize = U32>,
    {
        Self::from_bytes_reduced(&digest.finalize())
    }
/// Convert the output of a digest algorithm into a [`Scalar`] reduced
/// modulo n.
Convert the output of a digest algorithm into a [`Scalar`] reduced
modulo n.
Convert the output of a digest algorithm into a [ ` Scalar ` ] reduced modulo n .
fn from_digest<D>(digest: D) -> Self
    where
        D: Digest<OutputSize = U32>,
    {
        Self::from_bytes_reduced(&digest.finalize())
    }
fn from_digest < D > ( digest : D ) -> Self where D : Digest < OutputSize = U32 > , { Self :: from_bytes_reduced ( & digest . finalize ( ) ) }
Convert the output of a digest algorithm into a [`Scalar`] reduced
modulo n.
Convert the output of a digest algorithm into a [ ` Scalar ` ] reduced modulo n .
digest
D
digest
D