MD5 different in terminal than 3rd party ap - why?

Joined
Jun 15, 2011
Messages
14
Reaction score
0
Points
1
anybody know why that when I run

md5 -s "filename"

I get a completely different hash than

md5deep /filename

I ran it against an md5 that came with a download and the one from terminal didn't match it. I made a new one from md5deep and it did match the online one...

one from online
38cf0b054e5846489d2b8ac60b6783cf
terminal
afcbfda1d51c3344fe82590a3725ca3c
md5deep
38cf0b054e5846489d2b8ac60b6783cf
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
is the md5sum output the same?

btw, md5 -s "filename"

will give you the md5 checksum of the string "filename". Not the md5 message digest of the file. To get that using md5, use

md5 "filename"
 
OP
Z
Joined
Jun 15, 2011
Messages
14
Reaction score
0
Points
1
you are correct! Thank you for that....wasn't sure about the -s...just did what I was told...and look where that got me!

Thank you again...
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top