Module

std/node/crypto.ts

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

Constructors

new
Sign(algorithm: string, _options?: WritableOptions)

Methods

sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer
sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, outputFormat: BinaryToTextEncoding): string
sign(_privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, _outputEncoding?: BinaryToTextEncoding): Buffer | string
update(data: BinaryLike): this
update(data: string, inputEncoding: Encoding): this
update(_data: BinaryLike | string, _inputEncoding?: Encoding): this
import Sign
import { Sign } from "https://deno.land/std@0.145.0/node/crypto.ts";