Ask Your Question
0

point addition on elliptic curve

asked 2016-11-12 07:33:05 +0200

Sha gravatar image

I have point (x,y) on my elliptic curve that I want to add with point [51,108]. I have tried the following code:

kX.<X>=FunctionField(k)
R.<Y> = kX[]
kY.<Y> = kX.extension(Y^2-X^3+3267*X-45630)
E=EllipticCurve(kY,[-3267,45630])
Q=E([X,Y])
P1=E([51,108])
W=P1+Q;W

Unfortunately it keep giving error for k

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2016-11-12 09:58:13 +0200

FrédéricC gravatar image

You did not define k. Replace k by QQ and it will work.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-11-12 07:33:05 +0200

Seen: 503 times

Last updated: Nov 12 '16