Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/crypto.ts>Decipheriv

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Decipheriv
implements Cipher
extends Transform
Re-export
import { Decipheriv } from "https://deno.land/std@0.142.0/node/crypto.ts";

Constructors

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

Methods

final(): Buffer
final(outputEncoding: BufferEncoding): string
final(_outputEncoding?: string): Buffer | string
setAAD(_buffer: ArrayBufferView, _options?: { plaintextLength: number; }): this
setAuthTag(_buffer: BinaryLike, _encoding?: string): 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