How to create a fingerprint for a file using the SHA1 algorithm. Never use md5 because it has been cracked and can produce collisions.
# This generates the sha1 for a file # unique identifier of its contents. openssl dgst -sha1 file.png