Skip to main content

secp256k1ToProjective

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.19.0


@midnight-ntwrk/compact-runtime / secp256k1ToProjective

Function: secp256k1ToProjective()

function secp256k1ToProjective(p): WeierstrassPoint<bigint>;

Lift the simple affine Secp256k1Point representation into a noble-curves projective point. Identity maps to Point.ZERO; every other input is validated to lie on the curve by fromAffine.

Parameters

p

Secp256k1Point

Returns

WeierstrassPoint<bigint>