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