Added some string/buffer hashing functions for use in soon-to-be-coming classes.