Skip to content

JerryGamblin.com

Curiosity in Practice

  • About
  • Research
  • Tools

Compare Two Files

July 19, 2015

At work this week I needed to compare two files to see if they had the same MD5 or SHA256 hash.  After spending way too long trying to get hashdeep and md5deep to work correctly and not finding anything else to easily do this I wrote compare.py today. 

image
image

This script is the definition of utilitarian but I hope it can help you also.

Tags hacking, python, security
Just Say No To Security By Listicle!
Disable Frequent Location Tracking in iOS 9
© 2026 JerryGamblin.com