mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-26 19:34:15 +08:00
ad6c8e1181
* src/digest.c: Organize HASH_ALGO_CKSUM to be table driven, and amalgamate all digest algorithms. (main): Parse all options if HASH_ALGO_CKSUM, and disallow --tag, --zero, and --check with the traditional bsd, sysv, and crc checksums for now. * src/local.mk: Reorganize to include all digest modules in cksum. * tests/misc/cksum-a.sh: Add a new test. * tests/misc/b2sum.sh: Update to default to checking with cksum, as b2sum's implementation diverges a bit from the others. * tests/local.mk: Reference the new test. * doc/coreutils.texi (cksum invocation): Adjust the summary to identify the new mode, and document the new --algorithm option. * man/cksum.x: Adjust description to be more general. * man/*sum.x: Add [See Also] section referencing cksum(1). * NEWS: Mention the new feature.
12 lines
366 B
Plaintext
12 lines
366 B
Plaintext
[NAME]
|
|
sha1sum \- compute and check SHA1 message digest
|
|
[DESCRIPTION]
|
|
.\" Add any additional description here
|
|
[BUGS]
|
|
Do not use the SHA-1 algorithm for security related purposes.
|
|
Instead, use an SHA\-2 algorithm, implemented in the programs
|
|
sha224sum(1), sha256sum(1), sha384sum(1), sha512sum(1),
|
|
or the BLAKE2 algorithm, implemented in b2sum(1)
|
|
[SEE ALSO]
|
|
cksum(1)
|