Class Sha256Hmac

Object that allows for continuous SHA256 HMAC hashing of data.

Hierarchy

  • Hmac
    • Sha256Hmac

Constructors

Methods

Constructors

Methods

  • Hash additional data.

    Parameters

    • data: Hashable

      additional data to hash

    Returns void

  • Completes the hash computation and returns the final hmac digest.

    Parameters

    • Optional truncate_to: number

      The maximum number of bytes to receive. Leave as undefined or 0 to receive the entire digest.

    Returns DataView

Generated using TypeDoc