Trait elliptic_curve::FromDigest [−][src]
This is supported on crate feature
digest
only.Instantiate this type from the output of a digest.
This can be used for implementing hash-to-scalar (e.g. as in ECDSA) or hash-to-curve algorithms.
Required methods
fn from_digest<D>(digest: D) -> Self where
D: Digest<OutputSize = C::FieldSize>,
[src]
D: Digest<OutputSize = C::FieldSize>,
Instantiate this type from a Digest
instance
Implementors
impl FromDigest<MockCurve> for Scalar
[src]
This is supported on crate feature
dev
only.fn from_digest<D>(digest: D) -> Self where
D: Digest<OutputSize = U32>,
[src]
D: Digest<OutputSize = U32>,