Skip to main content
Module

std/node/internal/crypto/sig.ts>Sign

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

Constructors

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

Methods

sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer
sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, outputFormat: BinaryToTextEncoding): string
update(data: BinaryLike): this
update(data: string, inputEncoding: Encoding): this