Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/jose@v5.2.0/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; }>