in reply to Calculating the crc checksum of a file using perl?
If you are intending to use CRC32 to validate files against pre-existing checksums -- say those produced by a crc32 command for example -- then be sure to verify that whatever perl implementation you use matches. There are several (6) different polynomials used in various CRC32 standards.
If you are going to be using it to detect differences in files -- and you are producing all the checksums -- then I strongly advise using Adler32 rather than CRC32. The former has a much lower collision rate than the latter, and is faster to calculate.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Calculating the crc checksum of a file using perl?
by mrbark (Acolyte) on Mar 30, 2020 at 17:43 UTC | |
|
Re^2: Calculating the crc checksum of a file using perl?
by AGhoulDoingPerl (Sexton) on Jul 10, 2011 at 03:50 UTC | |
by jimsearle (Initiate) on Feb 27, 2012 at 23:46 UTC |