Function hash

  • Create a hash of the given string using the given algorithm.

    Returns

    Parameters

    • algorithm: string

      The algorithm to use

    • data: string | Object | Buffer

      The data to hash

    • outputFormat: BinaryToTextEncoding

      The output format

    Returns string

Generated using TypeDoc