EDPoint.infinity constructor
EDPoint.infinity({
- required CurveED curve,
A factory constructor to create an infinity point on an Edwards curve.
This factory method creates a special point at infinity for the given Edwards curve. It's a static method and doesn't require explicit point coordinates.
Parameters:
curve
: The Edwards curve associated with the point.
Returns:
- An instance of EDPoint representing the point at infinity.
Implementation
factory EDPoint.infinity({required CurveED curve}) {
return EDPoint._(
curve, [BigInt.zero, BigInt.zero, BigInt.zero, BigInt.zero]);
}