Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: MD5 for mac? (Read 3002 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

MD5 for mac?

I am using MD5 to protect my files and detect corruption easily. As I work in a multi-platform environment I need software than can generate/check md5 on Mac as well.

So far I have been unable to find any MD5 software on the mac (both for OS 9 and OS X) than generate a checksum file compatible with md5 software on other platforms.

Can anyone help?


MD5 for mac?

Reply #2
If you need a command line md5sum, you can grab Python for MAC and use the following script:

Code: [Select]
import md5, sys

md = md5.new()
fp = open(sys.argv[1], "r")
md.update(fp.read())
print md.hexdigest()
fp.close()

MD5 for mac?

Reply #3
Thanks.
I have tested Shorten for Mac and it works great. The good thing too is there are versions for 68k, OS 7-9 and OS X.

MD5 for mac?

Reply #4
In OSX m5sum should be available either as part of cureutils or textutils. Just try typing md5sum files in the shell to try.

dev0
"To understand me, you'll have to swallow a world." Or maybe your words.