Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Hash

Hierarchy

  • Hash

Index

Properties

Methods

Properties

Static Hashes

Hashes: Hashes = Hashes

Methods

Static digest

  • digest(plain: string, type?: Hashes): string
  • Parameters

    • plain: string

      Input string

    • Default value type: Hashes = Hashes.SHA3_256

      Type of hash to be used to digest

    Returns string

    Hash of the plain text

Generated using TypeDoc