Trait elliptic_curve::hash2curve::MapToCurve
source · pub trait MapToCurve {
type Output;
// Required method
fn map_to_curve(&self) -> Self::Output;
}
Available on crate feature
hash2curve
only.Expand description
Trait for converting field elements into a point via a mapping method like Simplified Shallue-van de Woestijne-Ulas or Elligator
Required Associated Types§
Required Methods§
sourcefn map_to_curve(&self) -> Self::Output
fn map_to_curve(&self) -> Self::Output
Map a field element into a point