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: Uint8Array, algorithm?: string): Promise<Uint8Array>
  • Parameters

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

    Returns Promise<Uint8Array>

Generated using TypeDoc