Fast hash function with collision possibility near SHA-1

前端 未结 7 1864
情书的邮戳
情书的邮戳 2021-02-20 06:52

I\'m using SHA-1 to detect duplicates in a program handling files. It is not required to be cryptographic strong and may be reversible. I found this list of fast hash functions

相关标签:
7条回答
  • 2021-02-20 07:52

    It kind of depends on how many hashes you are going to compute over in an iteration. Eg, 64bit hash reaches a collision probability of 1 in 1000000 with 6 million hashes computed.

    Refer to : Hash collision probabilities

    0 讨论(0)
提交回复
热议问题