Skip to main content
Latest
method jose.FlattenedEncrypt.prototype.setInitializationVector
Deprecated
Deprecated

You should not use this method. It is only really intended for test and vector validation purposes.

import { jose } from "https://deno.land/x/jwe_cookie_map@v1.0.1/src/deps.ts";
const { FlattenedEncrypt } = jose;

Sets the JWE Initialization Vector to use for content encryption, by default a random suitable one is generated for the JWE enc" (Encryption Algorithm) Header Parameter.

Parameters

iv: Uint8Array

JWE Initialization Vector.