Number of points on elliptic curve

后端 未结 4 1959
花落未央
花落未央 2021-02-09 23:03

If you have an elliptic curve in the form of:

y^2 = x^3 + a*x + b  (mod p)

Is there a good program to calculate the number of points on this cu

4条回答
  •  无人共我
    2021-02-09 23:49

    Have you heard of Sage?

    Sage includes Pari, which is an open source package for number theory. Pari has an implementation of SEA.

    From http://wstein.org/papers/2008-bordeaux/sphinx/elliptic_curves.html#schoof-elkies-atkin-point-counting:

    sage: k = GF(next_prime(10^20))
    sage: E = EllipticCurve(k.random_element())
    sage: E.cardinality()                   # less than a second
    100000000005466254167
    

提交回复
热议问题