Ask Your Question

Elliptic curve over binary field in Sage

asked 2014-01-01 09:49:02 +0200

mariusz198787 gravatar image

I searched in tutorial, but I haven't found any information about that. Can I write in Sage Elliptic curve over binary field (for example y^2+xy=x^3+g^3x^2+(g^3+1) over F(2^4))

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-01-01 11:04:46 +0200

tmonteil gravatar image

I guess g stands for "the" generator of the Field F(2^4).

You can get the documentation about the ways to construct elliptic curves by typing:

sage: EllipticCurve?

Then you can try something along the lines:

sage: F = GF(2^4, 'g') ; F
Finite Field in g of size 2^4
sage: F.inject_variables()
Defining g
sage: R.<x,y> = F[] ; R
Multivariate Polynomial Ring in x, y over Finite Field in g of size 2^4
sage: C = EllipticCurve(y^2+x*y-x^3-g^3*x^2-(g^3+1)) ; C
Elliptic Curve defined by y^2 + x*y = x^3 + g^3*x^2 + (g^3+1) over Finite Field in g of size 2^4
edit flag offensive delete link more

answered 2014-01-01 14:53:12 +0200

mariusz198787 gravatar image

updated 2014-01-01 14:54:14 +0200

Thanks for help. One more question. I define two points and try do operation like this




print O

But I haven't got cordinates of O

edit flag offensive delete link more


When you type sage: O (g^3 + 1 : g^2 + g : 1) You got projective coordinates. You can do: sage: O.dehomogenize(2) (g^3 + 1, g^2 + g) and check: sage: C(g^3 + 1, g^2 + g) == O True

tmonteil gravatar imagetmonteil ( 2014-01-01 17:28:02 +0200 )edit

Your Answer

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

Add Answer

Question Tools


Asked: 2014-01-01 09:49:02 +0200

Seen: 903 times

Last updated: Jan 01 '14