在Python中使用2个字符串进行哈希冲突

时间:2016-05-10 01:37:34

标签: hash python-2.x

MIT OpenCourseWare YouTube lecture on hashing中,教授给出了两个在Python中导致哈希冲突的字符串示例:

>>> hash('\0B')
64
>>> hash('\0\0C')
64

为什么会这样?

0 个答案:

没有答案