Trait pairing::SqrtField [] [src]

pub trait SqrtField: Field {
    fn legendre(&self) -> LegendreSymbol;
fn sqrt(&self) -> Option<Self>; }

This trait represents an element of a field that has a square root operation described for it.

Required Methods

Returns the Legendre symbol of the field element.

Returns the square root of the field element, if it is quadratic residue.

Implementors