Trait pairing_ce::SqrtField
source · pub trait SqrtField: Field {
// Required methods
fn legendre(&self) -> LegendreSymbol;
fn sqrt(&self) -> Option<Self>;
}
Expand description
This trait represents an element of a field that has a square root operation described for it.
Required Methods§
sourcefn legendre(&self) -> LegendreSymbol
fn legendre(&self) -> LegendreSymbol
Returns the Legendre symbol of the field element.
Object Safety§
This trait is not object safe.