I need a tool to generate a 6-digit "hash" from a file. Naturally, identical files should always create the same hash. What is a good way to do this?
- This is required on a vanilla debian system.
- I understand that with just 6-digits hash collisions can occur, but the hope is that it will be unlikely. In case of collision MD5 hashes can be used.
- Input files will most likely be PDFs, if that makes any difference.