Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jose/lib/aesgcmkw.ts>wrap

"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 wrap
import { wrap } from "https://deno.land/x/jose@v4.8.3/lib/aesgcmkw.ts";

Parameters

alg: string
key: unknown
cek: Uint8Array
optional
iv: Uint8Array