From 786407525b40ae2332e0ff2e12392dbea2c6e67a Mon Sep 17 00:00:00 2001 From: cperciva Date: Thu, 10 Mar 2005 09:56:39 +0000 Subject: Belatedly update the md5(1) man page to reflect the addition of sha256. --- sbin/md5/md5.1 | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'sbin') 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 -- cgit v1.1