Home Online Manual
Top
Back: ellipticMult
Forward: ellipticRandomPoint
FastBack:
FastForward:
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.3.25 ellipticRandomCurve

Procedure from library crypto.lib (see crypto_lib).

Usage:
ellipticRandomCurve(N);

Return:
a list of two random numbers a,b and 4a^3+27b^2 mod N

Note:
y^2z=x^3+a*xz^2+b^2*z^3 defines an elliptic curve over Z/N

Example:
 
LIB "crypto.lib";
ellipticRandomCurve(32003);
==> [1]:
==>    22857
==> [2]:
==>    24963
==> [3]:
==>    1