Skip to main content

Crypto

const Crypto: {
"CurveParams": CurveParams_;
"createCurve": {};
};

Type declaration

CurveParams

CurveParams: {} = CurveParams_;

Parameters defining an elliptic curve in short Weierstraß form y^2 = x^3 + ax + b

createCurve()

Create elliptic curve arithmetic methods.

Parameters

params: CurveParams

Returns

{}

Source

lib/provable/crypto/crypto.ts:8