function · Browser and Node

# resealText

New text under the item's existing key, for the same readers.

`@toip-tools/trust-core` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/trust-core/src/sealing.ts#L40)

Import:

```ts
import { resealText } from "@toip-tools/trust-core";
```

## Declaration

Signature:

```ts
resealText(text: string, key: Uint8Array, prior: SealedText): SealedText;
```

### Parameters

- **`text` (required)**: `string`
- **`key` (required)**: `Uint8Array<ArrayBufferLike>`
- **`prior` (required)**: `SealedText`

### Returns

`SealedText`

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

---

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