1
0
Fork 0
This commit is contained in:
Mike 2024-01-31 20:36:20 +02:00
parent 148d537db9
commit 2afece2a22

12
scalarmult.l Normal file
View file

@ -0,0 +1,12 @@
#{
REFERENCE PYTHON:
def scalarmult(P,e):
if e == 0: return [0,1]
Q = scalarmult(P,e/2)
Q = edwards(Q,Q)
if e & 1: Q = edwards(Q,P)
return Q
}#
(msg 'ok)
(bye)