method FlattenedEncrypt.prototype.encryptimport { FlattenedEncrypt } from "https://dotland.deno.dev/x/jose@v5.2.4/index.ts"; encrypt(key: KeyLike | Uint8Array, options?: EncryptOptions): Promise<FlattenedJWE>Encrypts and resolves the value of the Flattened JWE object. Parameterskey: KeyLike | Uint8ArrayPublic Key or Secret to encrypt the JWE with. See Algorithm Key Requirements. optionaloptions: EncryptOptionsJWE Encryption options. ReturnsPromise<FlattenedJWE>