I have around 500 files that I need to delete duplicates from. I am using a Powershell script to run the sha256 hash on each of them for further processing. But it occurred to me that with the size of some files, the number of files, and a relatively slow machine, execution time would be a big problem.
Out of the supported hash functions (SHA1, SHA256, SHA384, SHA512, MD5), which would be the best choice for both lowering execution time and minimizing hash collision probability?
Edit: Based on the fact that any false positives resulting from collisions can easily be remedied by looking at the images, I have decided on sha1. Thanks for your help, all.