Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Hasher

Interface for the user-provided hash function that is required by the Amazon Ion Hash Specification.

Hierarchy

  • Hasher

Index

Methods

Methods

digest

  • digest(): Uint8Array
  • Returns the computed hash bytes and resets any internal state so the hasher may be reused.

    Returns Uint8Array

    the Ion hash bytes

update

  • update(bytes: Uint8Array): void
  • Updates the hash with the specified array of bytes.

    Parameters

    • bytes: Uint8Array

    Returns void