Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SHA3Hasher

Index

Methods

Static createHasher

  • createHasher(length?: number): { finalize: any; reset: any; update: any }

Static func

  • func(dest: any, data: any, length: any): void
  • Calculates the hash of data.

    Parameters

    • dest: any

      The computed hash destination.

    • data: any

      The data to hash.

    • length: any

      The hash length in bytes.

    Returns void

Static getHasher

  • getHasher(length?: number): any
  • Get a hasher instance.

    Parameters

    • Default value length: number = 64

      The hash length in bytes.

    Returns any

    The hasher.

Generated using TypeDoc