[BusyBox] do we want a seperate crc32 command ?

Glenn McGrath bug1 at optushome.com.au
Tue Sep 12 23:30:30 UTC 2000


Erik Andersen wrote:
> 
> On Wed Sep 13, 2000 at 02:11:54AM +1100, Glenn McGrath wrote:
> > I made a crc32 command from the code in gunzip.
> >
> > I thought it would would work as a cksum command as provided by gnu
> > textutils, but it seems gnu cksum's does not produce the same crc value
> > that gzip -l <file> --verbose produces.
> >
> > So is a crc32 command of any value (it is quite small), if not i will
> > delete what i have
> 
> Hmm.  We have an 'md5sum' in busybox already, which does a good job
> of generating and checking file checksums, and is much less likely to
> generate false positives due to checksum aliasing.  I'm inclined
> (pensing any overwhelming feedback to the contrary) to think that
> md5sum is probably good enough for the task at hand.
> 
>  -Erik
> 

Yea, i agree. One alternative would be to stick it in with md5sum, other
(non GNU) md5sum implementations  that i ran across had options to do
other types of checksums.


Glenn





More information about the busybox mailing list