i want sage code for following Double and add algorithm for elliptic curve
asked 2017-01-20 08:37:11 -0500
This post is a wiki. Anyone with karma >750 is welcome to improve it.
N ← P Q ← 0 for i from 0 to m do if di = 1 then Q ← point_add(Q, N) N ← point_double(N) return Q