Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sha256Hash

Object that allows for continuous SHA256 hashing of data.

Hierarchy

  • Hash
    • Sha256Hash

Index

Constructors

Methods

Constructors

constructor

Methods

finalize

  • finalize(truncate_to?: number): DataView
  • Completes the hash computation and returns the final 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

native_handle

  • native_handle(): any
  • Returns any

update

  • Digest additional data.

    Parameters

    • data: Hashable

      Additional data to digest

    Returns void

Generated using TypeDoc