summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2005-03-10 09:56:39 +0000
committercperciva <cperciva@FreeBSD.org>2005-03-10 09:56:39 +0000
commit786407525b40ae2332e0ff2e12392dbea2c6e67a (patch)
tree34e7f2ffe24bbf3bdf6e30d2dba35739631d1401 /sbin
parent9cc7a486918cbbb18fd0f3d22b138e02f0e22e49 (diff)
downloadFreeBSD-src-786407525b40ae2332e0ff2e12392dbea2c6e67a.zip
FreeBSD-src-786407525b40ae2332e0ff2e12392dbea2c6e67a.tar.gz
Belatedly update the md5(1) man page to reflect the addition of sha256.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/md5/md5.117
1 files changed, 11 insertions, 6 deletions
diff --git a/sbin/md5/md5.1 b/sbin/md5/md5.1
index 8b36e1f..a771fb7 100644
--- a/sbin/md5/md5.1
+++ b/sbin/md5/md5.1
@@ -3,7 +3,7 @@
.Dt MD5 1
.Os
.Sh NAME
-.Nm md5 , sha1 , rmd160
+.Nm md5 , sha1 , sha256, rmd160
.Nd calculate a message-digest fingerprint (checksum) for a file
.Sh SYNOPSIS
.Nm md5
@@ -14,13 +14,17 @@
.Op Fl pqrtx
.Op Fl s Ar string
.Op Ar
+.Nm sha256
+.Op Fl pqrtx
+.Op Fl s Ar string
+.Op Ar
.Nm rmd160
.Op Fl pqrtx
.Op Fl s Ar string
.Op Ar
.Sh DESCRIPTION
The
-.Nm md5 , sha1
+.Nm md5 , sha1 , sha256
and
.Nm rmd160
utilities take as input a message of arbitrary length and produce as
@@ -33,7 +37,7 @@ It is conjectured that it is computationally infeasible to
produce two messages having the same message digest, or to produce any
message having a given prespecified target message digest.
The
-.Tn MD5 , SHA-1
+.Tn MD5 , SHA-1 , SHA-256
and
.Tn RIPEMD-160
algorithms are intended for digital signature applications, where a
@@ -84,7 +88,7 @@ Run a built-in test script.
.El
.Sh EXIT STATUS
The
-.Nm md5 , sha1
+.Nm md5 , sha1 , sha256
and
.Nm rmd160
utilities exit 0 on success,
@@ -93,7 +97,8 @@ and 1 if at least one of the input files could not be read.
.Xr cksum 1 ,
.Xr md5 3 ,
.Xr ripemd 3 ,
-.Xr sha 3
+.Xr sha 3 ,
+.Xr sha256 3
.Rs
.%A R. Rivest
.%T The MD5 Message-Digest Algorithm
@@ -102,7 +107,7 @@ and 1 if at least one of the input files could not be read.
.Rs
.%A J. Burrows
.%T The Secure Hash Standard
-.%O FIPS PUB 180-1
+.%O FIPS PUB 180-2
.Re
.Rs
.%A D. Eastlake and P. Jones
OpenPOWER on IntegriCloud