<div dir="ltr">I would say that md5sum is the standard way to checksum a file .. I was in charge of the build process at my last contract, and new versions of code were delivered nightly to the internal ftp site as ISOs (in various flavours) and their md5sums.<div>
<br></div><div>It's very quick to check an md5sum -- just run</div><div><br></div><div>  md5sum -c *.md5</div><div><br></div><div>in the directory where you have the binaries and the md5sums (as ${filename}.md5), and it will quickly return a Go/NoGo result.<br>
<div><br></div><div>Alex Beamish</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 30, 2013 at 11:13 AM, William Park <span dir="ltr"><<a href="mailto:opengeometry@yahoo.ca" target="_blank">opengeometry-FFYn/CNdgSA@public.gmane.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I would like to do some kind of "checksum" on files (full or partial<br>
content) in order to catch unwanted changes (accidental or malicious).<br>
How would you do it?<br>
<br>
So far, I found<br>
    - MD/SHA digests from OpenSSL -- I'm worried about speed, and being<br>
      dependent on yet another library.<br>
    - crypt() from glibc -- It can do MD5/SHA, but it has to be a single<br>
      string.  It can't do multiple strings.<br>
<br>
Is there user-callable CRC routines in glibc?  Curiously, I can't find<br>
one, even though I'm told that TCP stack uses it internally.<br>
<span class="HOEnZb"><font color="#888888">--<br>
William<br>
--<br>
The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Alex Beamish<br>Toronto, Ontario<br>aka talexb
</div>