Added createHashID() function.