toip.tools

function · Browser and Node

openSender

@toip-tools/mesh-transportView source
TypeScriptImport
import { openSender } from "@toip-tools/mesh-transport";

Declaration

TypeScriptSignature
openSender(sealed: Uint8Array, secretX: Uint8Array, enc: Uint8Array): Promise<string | null>;

Parameters

sealedrequired
Uint8Array<ArrayBufferLike>
secretXrequired
Uint8Array<ArrayBufferLike>
encrequired
Uint8Array<ArrayBufferLike>

Returns

Promise<string | null>