function · Browser and Node
commitmentOf
H(1, secret, groupId). The member sends only this to the issuer. Per group, so issuers can't match members.
@toip-tools/anon-membershipView sourceimport { commitmentOf } from "@toip-tools/anon-membership";
Declaration
commitmentOf(secret: Field, groupId: Field): Field;
Parameters
secretrequiredbigintgroupIdrequiredbigint
Returns
bigint