Skip to main content

persistentHash

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / persistentHash

Function: persistentHash()

function persistentHash(align, val): Value;

Internal

Internal implementation of the persistent hash primitive

Parameters

align

Alignment

val

Value

Returns

Value

Throws

If val does not have alignment align, or any component has a compress alignment