1 .\" $FreeBSD: src/sbin/md5/md5.1,v 1.23 2005/01/17 07:44:09 ru Exp $
2 .\" $DragonFly: src/sbin/md5/md5.1,v 1.4 2005/04/21 17:09:06 asmodai Exp $
7 .Nm md5 , sha1 , rmd160
8 .Nd calculate a message-digest fingerprint (checksum) for a file
27 utilities take as input a message of arbitrary length and produce as
33 It is conjectured that it is computationally infeasible to
34 produce two messages having the same message digest, or to produce any
35 message having a given prespecified target message digest.
40 algorithms are intended for digital signature applications, where a
43 in a secure manner before being encrypted with a private
45 key under a public-key cryptosystem such as
49 has not yet (2001-09-03) been broken, but sufficient attacks have been
50 made that its security is in some doubt.
53 are in the nature of finding
55 \(em that is, multiple
56 inputs which hash to the same value; it is still unlikely for an attacker
57 to be able to determine the exact original input given a hash value.
59 The following options may be used in any combination and must
60 precede any files named on the command line.
61 The hexadecimal checksum of each file listed on the command line is printed
62 after the options are processed.
63 .Bl -tag -width indent
65 Print a checksum of the given
68 Echo stdin to stdout and append the checksum to stdout.
70 Quiet mode - only the checksum is printed out.
75 Reverses the format of the output.
76 This helps with visual diffs.
78 when combined with the
82 Run a built-in time trial.
84 Run a built-in test script.
91 utilities exit 0 on success,
92 and 1 if at least one of the input files could not be read.
100 .%T The MD5 Message-Digest Algorithm
105 .%T The Secure Hash Standard
109 .%A D. Eastlake and P. Jones
110 .%T US Secure Hash Algorithm 1
114 RIPEMD-160 is part of the ISO draft standard
115 .Qq ISO/IEC DIS 10118-3
116 on dedicated hash functions.
118 Secure Hash Standard (SHS):
119 .Pa http://csrc.nist.gov/cryptval/shs.html .
122 .Pa http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html .
124 This program is placed in the public domain for free general use by
127 Support for SHA-1 and RIPEMD-160 has been added by
128 .An Oliver Eikemeier Aq eik@FreeBSD.org .