Create a hash from a string of text.