hash function change from md5 to sha1

Changed the hash function in generateUniqueID from md5 to sha1 to match the comments above