Question: Write a function in any programming language to implement the Elliptic Curve Point Addition algorithm. The function should take two inputs: two points on an

Write a function in any programming language to implement the Elliptic Curve Point Addition algorithm. The function should take two inputs: two points on an elliptic curve. It should then output a new point on the elliptic curve that is the sum of the input points according to elliptic curve rules.Tips:For 2 points P =(x1, y1) and Q =(x2, y2) on an elliptic curve, the point addition rules are as follows:If P = Q, apply the point doubling formula else use the point addition formula.Test:You may test the function by adding two points on an elliptic curve, and then verify your result.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!