EDPoint constructor
EDPoint({})
Constructor for creating an EDPoint with explicit coordinates and optional parameters.
This constructor creates an Edwards curve point with the specified curve and coordinates.
Parameters:
curve
: The Edwards curve associated with the point.x
: The x-coordinate of the point.y
: The y-coordinate of the point.z
: The z-coordinate of the point.t
: The t-coordinate of the point.order
: The order of the point (optional).generator
: A flag indicating if this point is a generator point (default isfalse
).
Additional Information:
- The
_coords
list is initialized with the provided coordinatesx, y, z, t
. - The
_precompute
list is initialized as an empty constant list.
Implementation
EDPoint(
{required this.curve,
required BigInt x,
required BigInt y,
required BigInt z,
required BigInt t,
this.order,
this.generator = false})
: _coords = [x, y, z, t],
_precompute = const [];