import { FlattenedEncrypt } from "https://deno.land/x/jose@v5.6.1/index.ts";
Encrypts and resolves the value of the Flattened JWE object.
Parameters
key: KeyLike | Uint8Array
Public Key or Secret to encrypt the JWE with. See Algorithm Key Requirements.
optional
options: EncryptOptionsJWE Encryption options.
Returns
Promise<FlattenedJWE>