import { EncryptJWT } from "https://deno.land/x/jose@v5.2.3/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://deno.land/x/jose@v5.2.3/jwt/encrypt.ts";
Encrypts and returns the JWT.
Public Key or Secret to encrypt the JWT with. See Algorithm Key Requirements.