1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-11 18:02:13 +02:00

doc: cksum: document secure hash algorithms

* doc/coreutils.texi (cksum general options): Mention hash algorithms
that are currently considered secure against malicious tampering.
This commit is contained in:
Collin Funk
2025-11-23 12:44:23 -08:00
parent 2199c9003e
commit b1ccb268b1

View File

@@ -4229,6 +4229,15 @@ Supported more modern digest algorithms are:
@samp{sm3} only available through @command{cksum}
@end example
The following algorithms are currently considered secure against
malicious tampering, i.e., there is no known way to modify a file to
produce the same checksum:
@example
@samp{sha2} equivalent to @command{sha@{224,256,384,512@}sum}
@samp{sha3} only available through @command{cksum}
@samp{blake2b} equivalent to @command{b2sum}
@end example
@item --base64
@opindex --base64
@cindex base64 checksum encoding