Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Do you need a cryptographic hash function or a simple one?
If you do not need to protect yourself from the fact that an attacker will forge a file so that the hash matches, then it is enough to calculate CRC32.
In general, you can take SHA1 for modern hardware and use it safely. If the libraries are updated to normal versions, then new processor instructions specially created for this function will be used.
For a benchmark, you can run openssl speed. There will be a report on all hashing algorithms for your hardware.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question