Skip to content

ecMultiScalarMul

ecMultiScalarMul(group, points, scalars): bytes

for curve points A and scalars B, return curve point B0A0 + B1A1 + B2A2 + … + BnAn

Parameters

group: ECGroup

The target group

points: Brand<string, "bytes">

The concatenated points to multiply

scalars: StaticBytes<32>[]

The scalars to multiply

Returns

bytes

Source

types/global.d.ts:1460