import { EncryptJWT } from "https://dotland.deno.dev/x/jose@v5.9.6/jwt/encrypt.ts";
Encrypts and returns the JWT.
Parameters
key: KeyLike | Uint8Array
Public Key or Secret to encrypt the JWT with. See Algorithm Key Requirements.
x/jose/jwt/encrypt.ts>EncryptJWT#encrypt
import { EncryptJWT } from "https://dotland.deno.dev/x/jose@v5.9.6/jwt/encrypt.ts";
Encrypts and returns the JWT.
Public Key or Secret to encrypt the JWT with. See Algorithm Key Requirements.