Belatedly update the md5(1) man page to reflect the addition of sha256.

This commit is contained in:
cperciva 2005-03-10 09:56:39 +00:00
parent 9cc7a48691
commit 786407525b

View File

@ -3,7 +3,7 @@
.Dt MD5 1 .Dt MD5 1
.Os .Os
.Sh NAME .Sh NAME
.Nm md5 , sha1 , rmd160 .Nm md5 , sha1 , sha256, rmd160
.Nd calculate a message-digest fingerprint (checksum) for a file .Nd calculate a message-digest fingerprint (checksum) for a file
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm md5 .Nm md5
@ -14,13 +14,17 @@
.Op Fl pqrtx .Op Fl pqrtx
.Op Fl s Ar string .Op Fl s Ar string
.Op Ar .Op Ar
.Nm sha256
.Op Fl pqrtx
.Op Fl s Ar string
.Op Ar
.Nm rmd160 .Nm rmd160
.Op Fl pqrtx .Op Fl pqrtx
.Op Fl s Ar string .Op Fl s Ar string
.Op Ar .Op Ar
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm md5 , sha1 .Nm md5 , sha1 , sha256
and and
.Nm rmd160 .Nm rmd160
utilities take as input a message of arbitrary length and produce as 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 produce two messages having the same message digest, or to produce any
message having a given prespecified target message digest. message having a given prespecified target message digest.
The The
.Tn MD5 , SHA-1 .Tn MD5 , SHA-1 , SHA-256
and and
.Tn RIPEMD-160 .Tn RIPEMD-160
algorithms are intended for digital signature applications, where a algorithms are intended for digital signature applications, where a
@ -84,7 +88,7 @@ Run a built-in test script.
.El .El
.Sh EXIT STATUS .Sh EXIT STATUS
The The
.Nm md5 , sha1 .Nm md5 , sha1 , sha256
and and
.Nm rmd160 .Nm rmd160
utilities exit 0 on success, 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 cksum 1 ,
.Xr md5 3 , .Xr md5 3 ,
.Xr ripemd 3 , .Xr ripemd 3 ,
.Xr sha 3 .Xr sha 3 ,
.Xr sha256 3
.Rs .Rs
.%A R. Rivest .%A R. Rivest
.%T The MD5 Message-Digest Algorithm .%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 .Rs
.%A J. Burrows .%A J. Burrows
.%T The Secure Hash Standard .%T The Secure Hash Standard
.%O FIPS PUB 180-1 .%O FIPS PUB 180-2
.Re .Re
.Rs .Rs
.%A D. Eastlake and P. Jones .%A D. Eastlake and P. Jones