Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Decipheriv
implements Cipher
extends Transform
import { Decipheriv } from "https://deno.land/std@0.151.0/node/internal/crypto/cipher.ts";

Constructors

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

Methods

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