Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebCryptoSha2Hash

Hierarchy

  • WebCryptoSha2Hash

Implements

Index

Constructors

Properties

Methods

Constructors

  • Parameters

    • subtleCrypto: SubtleCrypto

    Returns WebCryptoSha2Hash

Properties

subtleCrypto: SubtleCrypto

Methods

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

    • data: Buffer
    • algorithm: string = 'sha256'

    Returns Promise<Buffer>

Generated using TypeDoc