Class Sha256Hash

Object that allows for continuous SHA256 hashing of data.

Hierarchy

  • Hash
    • Sha256Hash

Constructors

Methods

Constructors

Methods

  • Hash additional data.

    Parameters

    • data: Hashable

      Additional data to hash

    Returns void

  • Completes the hash computation and returns the final hash 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