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