EDPoint.infinity constructor
EDPoint.infinity({
- required CurveED curve,
A factory constructor to create an infinity point on an Edwards curve.
Parameters:
curve: The Edwards curve associated with the point.
Implementation
factory EDPoint.infinity({required CurveED curve}) {
return EDPoint._(curve, [
BigInt.zero,
BigInt.zero,
BigInt.zero,
BigInt.zero,
]);
}