I am trying to write a SageMath
script that multiplies two coordinates on Elliptic Curves into one common coordinate.
SageMath Elliptic curves over finite fields documentation
p = Number
M1 = EllipticCurve (GF (p), [0,7])
C1 = M1 ([x1, y1])
C2 = M1 ([x2, y2])
C3 = C1 * C2
Somewhere they wrote that using sets of the SageMath
function it is possible to do this. How to do it?
C3=C1+C2
will setC3
equal to the combination ofC1
andC2
under the elliptic curve group law. $\endgroup$" + "operator
and this whole formula inSageMath
? $\endgroup$C3 = C1 + C2
this works since you defined C1 and C1 as points. For multiplication: Does this answer your question? How do I multiply two points on an elliptic curve?, If not, please indicate your actual aim. $\endgroup$