Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NodeCryptoSha2Hash

Index

Constructors

Properties

Methods

Constructors

constructor

  • new NodeCryptoSha2Hash(createHash: (algorithm: string, options?: HashOptions) => Hash): NodeCryptoSha2Hash

Properties

createHash

createHash: (algorithm: string, options?: HashOptions) => Hash

Type declaration

    • (algorithm: string, options?: HashOptions): Hash
    • Parameters

      • algorithm: string
      • Optional options: HashOptions

      Returns Hash

Methods

digest

  • digest(data: Buffer, algorithm?: string): Promise<Buffer>

Generated using TypeDoc