This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / sbin / md5 / md5.1
CommitLineData
2b269b96
PHK
1.TH MD5 1 "Feb 14, 1994"
2.SH NAME
3md5 \- calculate a message-digest fingerprint (checksum) for a file
4.SH SYNOPSIS
5.B md5
6[ -t | -x | -sstring | filename(s) ]
7.SH DESCRIPTION
8.B md5
9takes as input a message of arbitrary length and produces
10as output a 128-bit "fingerprint" or "message digest" of the input.
11It is conjectured that it is computationally infeasible to produce
12two messages having the same message digest, or to produce any
13message having a given prespecified target message digest.
14The MD5 algorithm is intended for digital signature applications, where a
15large file must be "compressed" in a secure manner before being
16encrypted with a private (secret) key under a public-key cryptosystem
17such as
18.I RSA.
19.SH OPTIONS
20The following four options may be used in any combination, except
21that
22.B "filename(s)"
23must be the last objects on the command line.
24.in +5
25.PP
26.B -sstring
27prints a checksum of the given "string".
28.PP
29.B -t
30runs a built-in time trial.
31.PP
32.B -x
33runs a built-in test script.
34.PP
35.B filename(s)
36prints a checksum(s) for each of the files.
37.SH "SEE ALSO"
38.BR sum (1)
39.PP
40RFC 1321 describes in detail the MD2, MD4, and MD5 message-digest algorithms.
41.SH ACKNOWLEDGEMENTS
42This program is placed in the public domain for free general use by
43RSA Data Security.