import { EncryptJWT } from "https://deno.land/x/jose@v4.10.0/index.ts";
Encrypts and returns the JWT.
Parameters
key: KeyLike | Uint8Array
Public Key or Secret to encrypt the JWT with.
optional
options: EncryptOptionsJWE Encryption options.
x/jose/index.ts>EncryptJWT#encrypt
import { EncryptJWT } from "https://deno.land/x/jose@v4.10.0/index.ts";
Encrypts and returns the JWT.
Public Key or Secret to encrypt the JWT with.
JWE Encryption options.