Creating an md5 hash of a number, string, array, or hash in Ruby