summaryrefslogtreecommitdiff
path: root/bin/md5/md5.1
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-06-03 17:51:30 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-06-03 17:51:30 +0000
commit8a9270e974a707b6350bb4eae35a02e816007951 (patch)
tree975a83da90e32fcdf2d9146ec5ec040d1d0302d5 /bin/md5/md5.1
parent8ba6a6b2a3bb8786475b59b7bb60545839198c7e (diff)
sync man page with new usage restrictions
Diffstat (limited to 'bin/md5/md5.1')
-rw-r--r--bin/md5/md5.117
1 files changed, 7 insertions, 10 deletions
diff --git a/bin/md5/md5.1 b/bin/md5/md5.1
index 3d41d226705..88185b62197 100644
--- a/bin/md5/md5.1
+++ b/bin/md5/md5.1
@@ -1,6 +1,6 @@
-.\" $OpenBSD: md5.1,v 1.10 2000/11/09 17:51:56 aaron Exp $
+.\" $OpenBSD: md5.1,v 1.11 2001/06/03 17:51:29 millert Exp $
.\"
-.Dd February 14, 1994
+.Dd June 4, 2001
.Dt MD5 1
.Os
.Sh NAME
@@ -8,9 +8,10 @@
.Nd calculate a message-digest fingerprint (checksum) for a file
.Sh SYNOPSIS
.Nm md5
-.Op Fl ptx
-.Op Fl s Ar string
-.Op Ar file ...
+.Oo
+.Fl p | Fl t | Fl x |
+.Fl s Ar string | Ar file ...
+.Oc
.Sh DESCRIPTION
.Nm
takes as input a message of arbitrary length and produces
@@ -18,6 +19,7 @@ as output a 128-bit "fingerprint" or "message digest" of the input.
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.
+.Pp
The
.Em MD5
algorithm is intended for digital signature applications, where a
@@ -41,8 +43,6 @@ Runs a built-in time trial.
Runs a built-in test script.
.El
.Pp
-These four options may be used in any combination and must
-precede any files named on the command line.
The MD5 sum of each file listed on the command line is printed after the
options are processed.
.Sh SEE ALSO
@@ -51,6 +51,3 @@ options are processed.
.Xr sha1 1
.Pp
RFC 1321 describes in detail the MD2, MD4, and MD5 message-digest algorithms.
-.Sh ACKNOWLEDGEMENTS
-This program is placed in the public domain for free general use by
-RSA Data Security.