[ Converted text/html to text/plain ] Figures. I write a CRC article/tutorial at the Collective, and change my mind about releasing it because "No one in the HL community does that kind of stuff" :) >From: Persuter >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: [hlcoders] Re: CRC/checksum on files >Date: Tue, 03 Dec 2002 22:00:12 -0500 > >The CRC that comes with the HL SDK doesn't seem to have any >definition, at >least none that I can find. > >http://www.eskimo.com/~weidai/cryptlib.html is a third-party library >you >could use to do it, although it's a tad much for what you're looking >for, I >suspect. > >Some sample code of CRC generation: >http://www.createwindow.com/programming/crc32/ >http://www.libpng.org/pub/png/spec/PNG-CRCAppendix.html >http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1952.html#sec-8 > >Persuter > >At 03:01 PM 12/4/2002 +1300, you wrote: >>Hi >> >>I've been trying to do this for sometime without much luck :\ >> >>I would like to read several binary files into the Sparky client >>hook for >>TFC and get their CRC values. >>Then I would like to check the values each file generated against a >>table of >>accepted values for that file. If the client is found to have a >>file that >>does not match one of the >>accepted values the hook can take required action. >> >>Is this a silly idea? Are there any better methods? I suppose I >>need to use >>crc.h that comes with the HL SDK >> >>Thanks >>Michael >> >> >>_______________________________________________ >>To unsubscribe, edit your list preferences, or view the list >>archives, >>please visit: >>http://list.valvesoftware.com/mailman/listinfo/hlcoders > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list >archives, please visit: >http://list.valvesoftware.com/mailman/listinfo/hlcoders
------------------------------------------------------------------------------ MSN 8 helps ELIMINATE E-MAIL VIRUSES. [1] Get 2 months FREE*. ===References:=== 1. http://g.msn.com/8HMHEN/2020 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

