Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebCryptoSha2Hash

Hierarchy

  • WebCryptoSha2Hash

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

subtleCrypto

subtleCrypto: SubtleCrypto

Methods

digest

  • digest(data: NodeJS.TypedArray, algorithm?: string): Promise<Buffer>
  • Parameters

    • data: NodeJS.TypedArray
    • Default value algorithm: string = "sha256"

    Returns Promise<Buffer>

Generated using TypeDoc