We try to implement idempotence. We do not want to process two times the same file. In our process I change the file to a base64 string. I thought about using a Hash-Algorithm to parse this string into a 32 bit Hash-String. I can only use a 32bit Hash-String, since the proccess after mine is expecting only this field length.
I thought about using MD5, but it does not seem like the best solution. I am not sure how an attack will affect the outcome of our process like it's explained here:
https://security.stackexchange.com/questions/19906/is-md5-considered-insecure
Can someone help me out with a good Hash-Algorithm or how I can make sure that MD5 is no security problem for my situation?