From: Collin Funk Date: Sun, 23 Nov 2025 20:44:23 +0000 (-0800) Subject: doc: cksum: document secure hash algorithms X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1ccb268b12f66eae6c09d833d68dd9ed40ad7b7;p=thirdparty%2Fcoreutils.git doc: cksum: document secure hash algorithms * doc/coreutils.texi (cksum general options): Mention hash algorithms that are currently considered secure against malicious tampering. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 214b21b563..098fa4761a 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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