Re: How do you check the equivalency of references?
Re: How do you check the equivalency of references?
- Subject: Re: How do you check the equivalency of references?
- From: Jon Pugh <email@hidden>
- Date: Wed, 8 Aug 2001 14:17:14 -0700
At 11:57 AM -0700 8/8/2001, John W Baxter wrote:
>
"Anthony Adachi" <email@hidden> wrote:
>
>By the way, what is the MD5 scripting addition?
>
>
I don't know whether we have one. I said "**IF** we have a handy MD5
>
scripting addition...". [emphasis added this time around]
An MD5 of a file is also largely undefined on the Macintosh, since there are two forks to a file. Do you checksum the data fork, combine the two into a MacBinary file and hash that, do the Finder flags count, or what?
Typically MD5 checksums are only used to determine if the contents of a file have changed. However, it would be pretty easy to write an MD5 scripting addition.
The definition of MD5:
http://www.ietf.org/rfc/rfc1321.txt
Jon