Go to Latest
interface Cipher
implements ReturnType<Transform>
import { type Cipher } from "https://dotland.deno.dev/std@0.177.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