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

Trait for determining the parity of the field

Required Methods

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

Implementors