# Function: contactKeyPair()

```ts
function contactKeyPair(secret): Promise<ContactKeyPair>;
```

Defined in: [packages/core/src/identity/contact-key.ts:132](https://github.com/leifriksheim/minca/blob/main/core/src/identity/contact-key.ts#L132)

The key pair, from the private scalar (`deriveContactKeyBytes`)

## Parameters

| Parameter | Type |
| ------ | ------ |
| `secret` | `Uint8Array` |

## Returns

`Promise`\<[`ContactKeyPair`](https://minca.dev/api/core/interfaces/ContactKeyPair.md)\>
