Skip to main content

hashToCurve

@midnight-ntwrk/ledger v3.0.2Readme | API


@midnight-ntwrk/ledger v3.0.2 / hashToCurve

Function: hashToCurve()

Internal

hashToCurve(align, val): Value

Internal implementation of the hash to curve primitive

Parameters

align: Alignment

val: Value

Returns

Value

Throws

If val does not have alignment align