Code Dictionary attack on hashes in Python