Skip to main content

curve25519ScalarMul

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / curve25519ScalarMul

Function: curve25519ScalarMul()

function curve25519ScalarMul(x, y): bigint;

Curve25519 scalar field multiplication

This function returns x * y in the Curve25519 scalar field (modulo CURVE25519_SCALAR_MODULUS).

Parameters​

x​

bigint

y​

bigint

Returns​

bigint