Skip to main content

hashToCurve

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / hashToCurve

Function: hashToCurve()

function hashToCurve(align, val): Value;

Internal

Internal implementation of the hash to curve primitive

Parameters​

align​

Alignment

val​

Value

Returns​

Value

Throws​

If val does not have alignment align