Verifying file integrity is an important aspect of security when downloading files from sources outside of a trusted software marketplace. Services such as the Apple App store and Windows Store verify the integrity of the files they host for download. When downloading files from websites, how can you be sure of the integrity of the file? File hashing. Many software providers have started providing file hashes for their downloads, though not enough do.
I have been working on a Python script to compute the hash of a given file and compare it against the user-supplied hash. I have also incorporated a API into the script to compare the file hash against a database of known malware hashes.
Check the GitHub repository for the most current version.