function · Browser and Node

# coldKeysFromSeed

Key set j is HKDF-SHA256(seed, salt "zk-toip/eventlog", info "

`@toip-tools/eventlog` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/eventlog/src/keys.ts#L127)

Import:

```ts
import { coldKeysFromSeed } from "@toip-tools/eventlog";
```

## Declaration

Signature:

```ts
coldKeysFromSeed(rotationSeed: Uint8Array, label: string, opts?: {
    curve?: Curve;
}): ColdKeys;
```

### Parameters

**`rotationSeed` (required)**

`Uint8Array<ArrayBufferLike>`

**`label` (required)**

`string`

**`opts` (optional)**

`{ curve?: Curve; }`

Default: `{}`

**Fields of `opts`**

- **`curve` (optional)**: `Curve | undefined`

### Returns

`ColdKeys`

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

---

This is the Markdown version of https://toip.tools/toolkit/eventlog/api/coldKeysFromSeed/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
