I am trying to get the md5 hash of a file. It seems the md5 I am getting from the script is different than the actual md5. If anyone could point me in the direction needed it would be great.
for dir, dirs, file in os.walk(path)
if file == (filename):
m = hashlib.md5()
m.update(file)
m.hexdigest()
print m.hexdigest()