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.5 2005/08/05 22:35:10 swildner Exp $
10 .Nd calculate a message-digest fingerprint (checksum) for a file
30 utilities take as input a message of arbitrary length and produce as
36 It is conjectured that it is computationally infeasible to
37 produce two messages having the same message digest, or to produce any
38 message having a given prespecified target message digest.
43 algorithms are intended for digital signature applications, where a
46 in a secure manner before being encrypted with a private
48 key under a public-key cryptosystem such as
52 has not yet (2001-09-03) been broken, but sufficient attacks have been
53 made that its security is in some doubt.
56 are in the nature of finding
58 \(em that is, multiple
59 inputs which hash to the same value; it is still unlikely for an attacker
60 to be able to determine the exact original input given a hash value.
62 The following options may be used in any combination and must
63 precede any files named on the command line.
64 The hexadecimal checksum of each file listed on the command line is printed
65 after the options are processed.
66 .Bl -tag -width indent
68 Print a checksum of the given
71 Echo stdin to stdout and append the checksum to stdout.
73 Quiet mode - only the checksum is printed out.
78 Reverses the format of the output.
79 This helps with visual diffs.
81 when combined with the
85 Run a built-in time trial.
87 Run a built-in test script.
95 utilities exit 0 on success,
96 and 1 if at least one of the input files could not be read.
104 .%T The MD5 Message-Digest Algorithm
109 .%T The Secure Hash Standard
113 .%A D. Eastlake and P. Jones
114 .%T US Secure Hash Algorithm 1
118 RIPEMD-160 is part of the ISO draft standard
119 .Qq ISO/IEC DIS 10118-3
120 on dedicated hash functions.
122 Secure Hash Standard (SHS):
123 .Pa http://csrc.nist.gov/cryptval/shs.html .
126 .Pa http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html .
128 This program is placed in the public domain for free general use by
131 Support for SHA-1 and RIPEMD-160 has been added by
132 .An Oliver Eikemeier Aq eik@FreeBSD.org .