Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface jose.DeflateFunction
Deprecated
Deprecated

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

import { type jose } from "https://deno.land/x/jwe_cookie_map@v1.0.0-rc0/deps.ts";
const { DeflateFunction } = jose;

Deflate Raw implementation, e.g. promisified zlib.deflateRaw.

Call Signatures

(input: Uint8Array): Promise<Uint8Array>