static string generateHash(mixed $value, string $namespace = '')
Generates a SHA-256 hash for the given value.
Optionally, a namespace string can be passed. Calling this method will the same values, but different namespaces, will return different hashes.
Please login to continue.