Added some ideas for calculating a hash of a string.