Turns any value into a hash string. Useful for generating unique ids that need to stay consistent when value is the same but be always unique when value is different.

  • Parameters

    • value: unknown

    Returns string

    A hash string.