
String::crc::cksum calculates a 32 bit crc, generating the same crc value as the posix cksum program. if called in a list context, returns the length of the data object as well, which is useful for fully emulating the cksum program. the returned checksum will always be a non-negative integral number in the range 0..2^32-1.