Skip to main content
Module

x/jose/lib/encrypt_key_management.ts>default

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno.
Extremely Popular
Go to Latest
function default
import { default } from "https://deno.land/x/jose@v4.8.3/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; }>