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§

source

type Output

The output point

Required Methods§

source

fn map_to_curve(&self) -> Self::Output

Map a field element into a point

Implementors§