Fastest hash for non-cryptographic uses?

后端 未结 13 1136
挽巷
挽巷 2020-12-04 08:23

I\'m essentially preparing phrases to be put into the database, they may be malformed so I want to store a short hash of them instead (I will be simply comparing if they exi

13条回答
  •  广开言路
    2020-12-04 08:33

    CRC32 is faster, but less secure than MD5 and SHA1. There is not that much speed difference between MD5 and SHA1.

提交回复
热议问题