Python Create Random Hashing