What is the fastest hash algorithm to check if two files are equal?

后端 未结 12 1585
野性不改
野性不改 2020-12-07 10:15

What is the fastest way to create a hash function which will be used to check if two files are equal?

Security is not very important.

Edit: I am sending a fi

12条回答
  •  盖世英雄少女心
    2020-12-07 10:57

    you might check out the algorithm that the samba/rsync developers use. I haven't looked at it in depth, but i see it mentioned all the time. apparently its quite good.

提交回复
热议问题