FieldSqrtResult<F extends CryptoField<F> > class
The result of a field square-root computation: the candidate result plus whether the input was actually a quadratic residue (isSquare).
- Mixed-in types
Constructors
- FieldSqrtResult(F result, bool isSquare)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sqrtOrNull(
) → F? - Returns the square root if this element is a quadratic residue, otherwise returns null.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited