Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SHA3Hasher

Hierarchy

  • SHA3Hasher

Index

Constructors

constructor

Methods

Static createHasher

  • createHasher(length?: number): any
  • Creates a hasher object.

    Parameters

    • length: number = 64

      The hash length in bytes.

    Returns any

    The hasher.

Static func

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

    Parameters

    • dest: Uint8Array

      The computed hash destination.

    • data: Uint8Array

      The data to hash.

    • length: number

      The hash length in bytes.

    Returns void

Static getHasher

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

    Parameters

    • length: number = 64

      The hash length in bytes.

    Returns any

    The hasher.

Generated using TypeDoc