Function createSimpleHash

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

    Parameters

    • value: unknown

      Any JavaScript value

    • Optional length: number

      Desired length of the hex string (default: 8)

    Returns string

    string - Hex string of specified length