Trait lambdaworks_math::field::extensions::cubic::HasCubicNonResidue
source · pub trait HasCubicNonResidue<F: IsField> {
// Required method
fn residue() -> FieldElement<F>;
}
Expand description
Trait to fix a cubic non residue.
Used to construct a cubic extension field by adding
a square root of residue()
.
Required Methods§
sourcefn residue() -> FieldElement<F>
fn residue() -> FieldElement<F>
This function must return an element that is not a cube in Fp, that is, a cubic non-residue.
Object Safety§
This trait is not object safe.