結果 : hash function implementation python