Ask Your Question
0

point addition on elliptic curve

asked 2016-11-12 00:33:05 -0500

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 02:58:13 -0500

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 00:33:05 -0500

Seen: 37 times

Last updated: Nov 12 '16