aboutsummaryrefslogtreecommitdiff
path: root/sbin/md5/md5.1
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/md5/md5.1')
-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 8b36e1f19934..a771fb76132c 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