Skip to main content

ecMulGenerator

@midnight-ntwrk/compact-runtime v0.9.0


@midnight-ntwrk/compact-runtime / ecMulGenerator

Function: ecMulGenerator()

function ecMulGenerator(b): CurvePoint;

The Compact builtin ec_mul_generator function

This function multiplies the primary group generator of the embedded curve by a scalar (in multiplicative notation)

Parameters

b

bigint

Returns

CurvePoint