mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-27 03:44:26 +08:00
a94929715c
$ echo -n '123456789' | cksum --raw -a crc32b | basenc --base16 CBF43926 * bootstrap.conf: Explicitly depend on the crc module. * doc/coreutils.texi (cksum): Add "crc32b" as an argument to -a. * src/cksum.c (crc32b_sum_stream): A new function similar to crc_sum_stream, but which does not include the length in the CRC calculation. * src/cksum.h: Add crc32b_sum_stream prototype. * src/digest.c: Add "crc32b" as an argument to -a. * tests/cksum/cksum.sh: Refactor to test both crc and crc32b. * tests/cksum/cksum-a.sh: Add "crc32b" case. * tests/cksum/cksum-base64.pl: Likewise. * tests/misc/read-errors.sh: Likewise. * NEWS: Mention the new feature. |
||
---|---|---|
.. | ||
b2sum.sh | ||
cksum-a.sh | ||
cksum-base64.pl | ||
cksum-c.sh | ||
cksum-raw.sh | ||
cksum.sh | ||
md5sum-bsd.sh | ||
md5sum-newline.pl | ||
md5sum-parallel.sh | ||
md5sum.pl | ||
sha1sum-vec.pl | ||
sha1sum.pl | ||
sha224sum.pl | ||
sha256sum.pl | ||
sha384sum.pl | ||
sha512sum.pl | ||
sm3sum.pl | ||
sum-sysv.sh | ||
sum.pl |