Generates a seed based on the string value