# Function: seedToRecoveryCode()

```ts
function seedToRecoveryCode(seed): string;
```

Defined in: [packages/core/src/identity/recovery-code.ts:25](https://github.com/leifriksheim/minca/blob/main/core/src/identity/recovery-code.ts#L25)

Writes a seed out as a code a person can copy; the inverse of [recoveryCodeToSeed](https://minca.dev/api/core/functions/recoveryCodeToSeed.md)

## Parameters

| Parameter | Type |
| ------ | ------ |
| `seed` | `Uint8Array` |

## Returns

`string`
