Error in lines 3-44
Traceback (most recent call last):
File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1231, in execute
compile(block + '\n',
File "<string>", line 4
print "{0} does not have a square root mod {1}".format(a, Prime)
^
SyntaxError: invalid syntax
ECSearch is a procedure that searches for a point on a given elliptic curve with first coordinate between "lowerbound" and "upperbound". The lowerbound and the upperbound are positive random numbers.
ECAdd is a procedure that computes the sum of two points on a given elliptic curve using the elliptic curve operation.
ECTimes is a procedure that adds a point k-times (scalar) to itself for a given elliptic curve using the elliptic curve operation.
Error in lines 2-2
Traceback (most recent call last):
File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1230, in execute
exec(
File "", line 1, in <module>
NameError: name 'Dirichlet' is not defined
(2, 1)
(113, 1)
(37493278489327498732487398498393879480898493287489732974921094832985743875881, 1)
8061429807990305502472115551139668027187985041743167486937784600040264790753173
10038748923786
6156089434541705029559508896034912822846473392122022710870417979600647684748946
5100445727549814611514952620207778808292978985122645127794514963485975329249
10038748923785
946731983399710512555195230311934479072009381576909000168330179607867912495
67374669956237459615435919281169281240496710541955787231192905664229290947112473930790689425