toip.tools

function · Browser and Node

leafHash

H(4, commitment, schemaId, validUntilDay, registeredDay, attrs[0], attrs[1], attrs[2], attrs[3]).

@toip-tools/anon-membershipView source
TypeScriptImport
import { leafHash } from "@toip-tools/anon-membership";

Declaration

TypeScriptSignature
leafHash(leaf: Leaf): Field;

Parameters

leafrequired
Leaf

Returns

bigint