Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用 Knuth Hash 为 a 生成唯一的散列号byte[]吗?
byte[]
正常的 Knuth Hash 算法如下所示:
int KnuthHsh(int v) { v *= 2654435761; return v >> 32; }
还有一种方法可以输入 abyte[]并为其生成唯一的哈希值吗?