crc32 - Perform a 32bit Cyclic Redundancy Check
SYNOPSIS
package require Tcl 8.2
package require crc32 ?1.0?
|
This package provides a Tcl-only implementation of the CRC-32
algorithm based upon information provided at
http://www.naaccr.org/standard/crc32/document.html
If the Trf package is available then the crc-zlib
command is used to perform the calculation.
COMMANDS
OPTIONS
Note that as the Trf command crc-zlib cannot accept a
seed value, use of this option will force the use of the Tcl only
implementation.
EXAMPLES
% crc::crc32 "Hello, World!" 3964322768 |
% crc::crc32 -format 0x%X "Hello, World!" 0xEC4AC3D0 |
% crc::crc32 -file crc32.tcl 483919716 |