diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-05-16 18:31:32 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-05-16 18:31:32 +0000 |
commit | 8c1293e731749d7818192ce199ecaeafac849ace (patch) | |
tree | 52126a61680f2bce61f0497d1023038cd7500af8 /bin/md5/sha1.1 | |
parent | 212d73eed64f69ec01d91f0552c0e85f9ef6024a (diff) |
Tell reader to use cksum(1) to compute SHA-2 digests. ok millert@
Diffstat (limited to 'bin/md5/sha1.1')
-rw-r--r-- | bin/md5/sha1.1 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/bin/md5/sha1.1 b/bin/md5/sha1.1 index f48d2b062fa..318ca472c06 100644 --- a/bin/md5/sha1.1 +++ b/bin/md5/sha1.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha1.1,v 1.18 2004/05/04 18:32:51 jmc Exp $ +.\" $OpenBSD: sha1.1,v 1.19 2004/05/16 18:31:31 otto Exp $ .\" .\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -78,6 +78,18 @@ Runs a built-in test script. The SHA-1 sum of each file listed on the command line is printed after the options are processed. +.Pp +The +.Nm +command is shorthand for +.Bd -literal -offset indent +cksum -a sha1 +.Ed +.Pp +The +.Xr cksum 1 +command can also be used to compute digests from the SHA-2 family: +sha256, sha384 and sha512. .Sh SEE ALSO .Xr cksum 1 , .Xr md5 1 , |