1 .\" $FreeBSD: src/sbin/md5/md5.1,v 1.24 2005/03/10 09:56:39 cperciva Exp $
2 .\" $DragonFly: src/sbin/md5/md5.1,v 1.8 2008/01/16 14:18:57 matthias Exp $
11 .Nd calculate a message-digest fingerprint (checksum) for a file
36 utilities take as input a message of arbitrary length and produce as
42 It is conjectured that it is computationally infeasible to
43 produce two messages having the same message digest, or to produce any
44 message having a given prespecified target message digest.
46 .Tn MD5 , SHA-1, SHA-256
49 algorithms are intended for digital signature applications, where a
52 in a secure manner before being encrypted with a private
54 key under a public-key cryptosystem such as
58 has not yet (2001-09-03) been broken, but sufficient attacks have been
59 made that its security is in some doubt.
62 are in the nature of finding
64 \(em that is, multiple
65 inputs which hash to the same value; it is still unlikely for an attacker
66 to be able to determine the exact original input given a hash value.
68 The following options may be used in any combination and must
69 precede any files named on the command line.
70 The hexadecimal checksum of each file listed on the command line is printed
71 after the options are processed.
72 .Bl -tag -width indent
74 Print a checksum of the given
77 Echo stdin to stdout and append the checksum to stdout.
79 Quiet mode - only the checksum is printed out.
84 Reverses the format of the output.
85 This helps with visual diffs.
87 when combined with the
91 Run a built-in time trial.
93 Run a built-in test script.
102 utilities exit 0 on success,
103 and 1 if at least one of the input files could not be read.
111 .%T The MD5 Message-Digest Algorithm
116 .%T The Secure Hash Standard
120 .%A D. Eastlake and P. Jones
121 .%T US Secure Hash Algorithm 1
125 RIPEMD-160 is part of the ISO draft standard
126 .Qq ISO/IEC DIS 10118-3
127 on dedicated hash functions.
129 Secure Hash Standard (SHS):
130 .Pa http://csrc.nist.gov/publications/fips/fips180-2/fips180-2withchangenotice.pdf .
133 .Pa http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html .
135 This program is placed in the public domain for free general use by
138 Support for SHA-1 and RIPEMD-160 has been added by
139 .An Oliver Eikemeier Aq eik@FreeBSD.org .