pub trait Sgn0 {
    // Required method
    fn sgn0(&self) -> Choice;
}
Available on crate feature hash2curve only.
Expand description

Trait for determining the parity of the field

Required Methods§

source

fn sgn0(&self) -> Choice

Return the parity of the field 1 == negative 0 == non-negative

Implementors§