Go to Latest
class Cipheriv
implements Cipher
extends Transform
import { Cipheriv } from "https://dotland.deno.dev/std@0.177.0/node/internal/crypto/cipher.ts";

Constructors

new
Cipheriv(
_cipher: string,
_key: CipherKey,
_iv: BinaryLike | null,
_options?: TransformOptions,
)

Methods

final(outputEncoding: BufferEncoding): string
setAAD(_buffer: ArrayBufferView, _options?: { plaintextLength: number; }): this
setAutoPadding(_autoPadding?: boolean): this
update(data: string, inputEncoding: Encoding): Buffer
update(
data: ArrayBufferView,
inputEncoding: undefined,
outputEncoding: Encoding,
): string
update(
data: string,
inputEncoding: Encoding | undefined,
outputEncoding: Encoding,
): string