function · Browser and Node

# memberSecret

One secret per group, so the same person's commitments in two groups differ.

`@toip-tools/anon-membership` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/anon-membership/src/encode.ts#L42)

Import:

```ts
import { memberSecret } from "@toip-tools/anon-membership";
```

## Declaration

Signature:

```ts
memberSecret(seed: Uint8Array, groupId: string): Field;
```

### Parameters

- **`seed` (required)**: `Uint8Array<ArrayBufferLike>`
- **`groupId` (required)**: `string`

### Returns

`bigint`

[Usage guide](https://toip.tools/toolkit/anon-membership/#usage) · [Error handling](https://toip.tools/toolkit/anon-membership/#errors) · [All exports](https://toip.tools/toolkit/anon-membership/api/)

---

This is the Markdown version of https://toip.tools/toolkit/anon-membership/api/memberSecret/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
