Struct ark_ec::hashing::map_to_curve_hasher::MapToCurveBasedHasher
source · pub struct MapToCurveBasedHasher<T, H2F, M2C>where
T: CurveGroup,
H2F: HashToField<T::BaseField>,
M2C: MapToCurve<T>,{ /* private fields */ }
Expand description
Helper struct that can be used to construct elements on the elliptic curve from arbitrary messages, by first hashing the message onto a field element and then mapping it to the elliptic curve defined over that field.