Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebCryptoSha2Hash

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • subtleCrypto: SubtleCrypto

    Returns WebCryptoSha2Hash

Properties

subtleCrypto

subtleCrypto: SubtleCrypto

Methods

digest

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

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

    Returns Promise<Buffer>

Generated using TypeDoc