Function createSimpleHash

  • Creates a simple numeric hash code and returns it as a hex string

    Parameters

    • value: unknown

      Any JavaScript value

    • length: number = 8

      Desired length of the hex string (default: 8)

    Returns string

    string - Hex string of specified length