curve25519ScalarSub
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.20.0
@midnight-ntwrk/compact-runtime / curve25519ScalarSub
Function: curve25519ScalarSub()
function curve25519ScalarSub(x, y): bigint;
Curve25519 scalar field subtraction
This function returns x - y in the Curve25519 scalar field (modulo CURVE25519_SCALAR_MODULUS).
Parameters
x
bigint
y
bigint
Returns
bigint