Module

std/node/crypto.ts

Deno standard library
Go to Latest
class Cipheriv
implements Cipher
extends Transform
import { Cipheriv } from "https://deno.land/std@0.145.0/node/crypto.ts";

Constructors

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

Methods

final(): Buffer
final(outputEncoding: BufferEncoding): string
final(_outputEncoding?: string): Buffer | string
getAuthTag(): Buffer
setAAD(_buffer: ArrayBufferView, _options?: { plaintextLength: number; }): this
setAutoPadding(_autoPadding?: boolean): this
update(data: BinaryLike): Buffer
update(data: string, inputEncoding: Encoding): Buffer
update(
data: ArrayBufferView,
inputEncoding: undefined,
outputEncoding: Encoding,
): string
update(
data: string,
inputEncoding: Encoding | undefined,
outputEncoding: Encoding,
): string
update(
_data: string | BinaryLike | ArrayBufferView,
_inputEncoding?: Encoding,
_outputEncoding?: Encoding,
): Buffer | string
import Cipheriv
import { Cipheriv } from "https://deno.land/std@0.145.0/node/crypto.ts";