Go to Latest
interface Cipher
implements Transform
import { type Cipher } from "https://dotland.deno.dev/std@0.145.0/node/internal/crypto/cipher.ts";

Methods

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
final(): Buffer
final(outputEncoding: BufferEncoding): string
setAutoPadding(autoPadding?: boolean): this