Files
jose/docs/interfaces/types.InflateFunction.md

1.4 KiB

Interface: InflateFunction

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


Inflate Raw implementation, e.g. promisified zlib.inflateRaw.

Deprecated

Compression of data SHOULD NOT be done before encryption, because such compressed data often reveals information about the plaintext.

See

Avoid Compression of Encryption Inputs

Callable

InflateFunction

â–¸ InflateFunction(input): Promise<Uint8Array>

Parameters

Name Type
input Uint8Array

Returns

Promise<Uint8Array>