function · Browser and Node
deriveSecret
toField(HMAC-SHA256(seed, utf8(info))).
@toip-tools/anon-membershipView sourceimport { deriveSecret } from "@toip-tools/anon-membership";
Declaration
deriveSecret(seed: Uint8Array, info: string): Field;
Parameters
seedrequiredUint8Array<ArrayBufferLike>inforequiredstring
Returns
bigint