Skip to content

Function: openBytes() ​

openBytes(secretKey, data, options?): Promise<Uint8Array<ArrayBufferLike>>

Defined in: stream.ts:286

Convenience: decrypts a whole buffer produced by sealBytes.

Parameters ​

secretKey ​

SecretKey

data ​

Uint8Array

options? ​

OpenStreamOptions = {}

Returns ​

Promise<Uint8Array<ArrayBufferLike>>

Apache-2.0.