Generated by JsDoc Toolkit 2.3.3-beta on Wed Nov 06 2013 17:43:37 GMT+0100 (MEZ)
HTML template: Codeview

Class sjcl.ecc.curve


Defined in: ecc.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
sjcl.ecc.curve(p, r, a, x, y, y)
Construct an elliptic curve.
Class Detail
sjcl.ecc.curve(p, r, a, x, y, y)
Construct an elliptic curve. Most users will not use this and instead start with one of the NIST curves defined below.
Parameters:
{bigInt} p
The prime modulus.
{bigInt} r
The prime order of the curve.
{bigInt} a
The constant a in the equation of the curve y^2 = x^3 + ax + b (for NIST curves, a is always -3).
{bigInt} x
The x coordinate of a base point of the curve.
{bigInt} y
The y coordinate of a base point of the curve.
y