Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Scalar Multiplication: LSB first. code in sagemath

Require k=(km-1,km-2,…,k0)2, km=1 Compute Q=kP Q=0, R=P For i=0 to m-1 If ki=1 then Q=Q+R End if R=2R End for kindly provide me sagemath code for above algorithm for prime field 37 and elliptic curve y^2=x^3+7x+25