Class Sha1Hash

Object that allows for continuous SHA1 hashing of data.

Hierarchy

  • Hash
    • Sha1Hash

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