Publisher review:Simple file hashing script returns the hash code (as an hex string) for a given file. This script returns the hash code (as an hex string) for a given file.
There's no much to say, since Python does all for you. The only thing to notice is that usually file hashing (MD5, SHA1 and so on) is needed to compare very large files.
So in readfile, I read the file in chunks of 1kb.You can substitute md5 with the hashing function you prefer (SHA, for instance).
Simple file hashing 1.0 is a Python script for File Management scripts design by ActiveState.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
returns the hash code (as an hex string) for a given file.
Operating system:Windows / Linux / Mac OS / BSD / Solaris