# Function: openBody()

```ts
function openBody(
   body, 
   spaceKey, 
   place
): Promise<unknown>;
```

Defined in: [packages/core/src/privacy/space-encryption.ts:113](https://github.com/leifriksheim/minca/blob/main/core/src/privacy/space-encryption.ts#L113)

Opens a sealed body with the key it names.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `body` | `unknown` |
| `spaceKey` | [`SpaceKey`](https://minca.dev/api/core/interfaces/SpaceKey.md) |
| `place` | [`BodyPlace`](https://minca.dev/api/core/interfaces/BodyPlace.md) |

## Returns

`Promise`\<`unknown`\>

The content, or null when the key is not the one it names, it was
  sealed for another record, or anything changed
