Re: CRC-32 program
On Mon, 1 Dec 1997, Timothy Phan wrote:
> I'd like to know where can I get a CRC-32 program?
"cksum" from the textutils package computes a CRC (32 bit) check of files;
the documentation is a bit sketchy (even the info file) - this has the
same functionality as the FreeBSD utility of the same name (i.e. it
produces the same results given the same input).
(A useless bit of trivia: the polynomial used in the calculation is
x^32 + x^26 + x^23 + x^22 + x^16 + x^12 + x^11 + x^10 + x^8 + x^7 +
x^5 + x^4 + x^2 + x + 1)
If you're looking for a way to generate checksums on files to make certain
that they aren't being mangled in transit (or as tampering protection),
though, it might be better to use the md5 algorithm instead of a CRC-32
sum. "md5sum" from the base system will compute that.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .