toip.tools

function · Browser and Node

nullifierOf

H(2, secret, scope, k). k is the rate-limit index, below the statement's limit; 0 for one per scope.

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

Declaration

TypeScriptSignature
nullifierOf(secret: Field, scope: Field, k?: number): Field;

Parameters

secretrequired
bigint
scoperequired
bigint
koptional
number

Default: 0

Returns

bigint