public abstract class FiniteFieldTools
extends java.lang.Object
| Constructor and Description |
|---|
FiniteFieldTools() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSquare(FieldElement x)
Returns true iff there is an \(y\) in the same field such that \(y^2 = x\).
|
static FieldElement |
sqrt(FieldElement element)
Computes the square root of the given element.
|
public static boolean isSquare(FieldElement x)
public static FieldElement sqrt(FieldElement element)