Module

x/jose/lib/encrypt_key_management.ts>default

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
function default
import { default } from "https://dotland.deno.dev/x/jose@v4.15.1/lib/encrypt_key_management.ts";

Parameters

alg: string
enc: string
key: KeyLike | Uint8Array
optional
providedCek: Uint8Array
optional
providedParameters: JWEKeyManagementHeaderParameters = [UNSUPPORTED]

Returns

Promise<{ cek: KeyLike | Uint8Array; encryptedKey?: Uint8Array; parameters?: JWEHeaderParameters; }>