operator * method

  1. @override
RistrettoPoint operator *(
  1. BigInt other
)
override

Overrides the '*' operator to multiply a RistrettoPoint by another object.

This operator override allows you to multiply a RistrettoPoint by another object. It delegates the multiplication to the superclass and then converts the result to a RistrettoPoint.

Parameters:

  • other: The object to multiply with the RistrettoPoint.

Returns:

  • RistrettoPoint: The result of the multiplication as a RistrettoPoint.

Implementation

@override
RistrettoPoint operator *(other) {
  final mul = super * other;
  return RistrettoPoint.fromEdwardsPoint(mul);
}