Trait elliptic_curve::hash2curve::MapToCurve
source · [−]pub trait MapToCurve {
type Output;
fn map_to_curve(&self) -> Self::Output;
}
This is supported 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
Associated Types
Required methods
fn map_to_curve(&self) -> Self::Output
fn map_to_curve(&self) -> Self::Output
Map a field element into a point