Skip to main content

ecMul

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.19.0


@midnight-ntwrk/compact-runtime / ecMul

Function: ecMul()

function ecMul(a, b): JubjubPoint;

The Compact builtin ecMul function

This function multiplies an elliptic curve point by a scalar (in multiplicative notation)

Parameters​

a​

JubjubPoint

b​

bigint

Returns​

JubjubPoint