結果 : hashing function python implementation