Wrapper for field element type.
Wrapper for point type.
Create a new context for cryptographic operations.
Returns byte representation of the given field element.
Exponentiate a point.
Exponentiate a point.
point to exponentiate
exponent
p to the power of n (p^n)
Returns the affine x-coordinate after checking that this point is normalized.
Returns the affine x-coordinate after checking that this point is normalized.
The affine x-coordinate of this point
IllegalStateException
if the point is not normalized
Returns the affine y-coordinate after checking that this point is normalized
Returns the affine y-coordinate after checking that this point is normalized
The affine y-coordinate of this point
IllegalStateException
if the point is not normalized
Returns the x-coordinate.
Returns the x-coordinate.
Caution: depending on the curve's coordinate system, this may not be the same value as in an affine coordinate system; use normalize() to get a point where the coordinates have their affine values, or use getAffineXCoord() if you expect the point to already have been normalized.
the x-coordinate of this point
Returns the y-coordinate.
Returns the y-coordinate.
Caution: depending on the curve's coordinate system, this may not be the same value as in an affine coordinate system; use normalize() to get a point where the coordinates have their affine values, or use getAffineYCoord() if you expect the point to already have been normalized.
the y-coordinate of this point
Check if a point is infinity.
Multiply two points.
Multiply two points.
first point
second point
group multiplication (p1 * p2)
Negate a point.
* Normalization ensures that any projective coordinate is 1, and therefore that the x, y coordinates reflect those of the equivalent point in an affine coordinate system.
* Normalization ensures that any projective coordinate is 1, and therefore that the x, y coordinates reflect those of the equivalent point in an affine coordinate system.
a new ECPoint instance representing the same point, but with normalized coordinates
Return simplified string representation of the point (used only for debugging)
Returns the value of bit 0 in BigInteger representation of this point.
JVM specific implementation of crypto methods