6 .Nm md5 , sha1 , rmd160
7 .Nd calculate a message-digest fingerprint (checksum) for a file
26 utilities take as input a message of arbitrary length and produce as
32 It is conjectured that it is computationally infeasible to
33 produce two messages having the same message digest, or to produce any
34 message having a given prespecified target message digest.
39 algorithms are intended for digital signature applications, where a
42 in a secure manner before being encrypted with a private
44 key under a public-key cryptosystem such as
48 has not yet (2001-09-03) been broken, but sufficient attacks have been
49 made that its security is in some doubt.
52 are in the nature of finding
54 \(em that is, multiple
55 inputs which hash to the same value; it is still unlikely for an attacker
56 to be able to determine the exact original input given a hash value.
58 The following options may be used in any combination and must
59 precede any files named on the command line.
60 The hexadecimal checksum of each file listed on the command line is printed
61 after the options are processed.
62 .Bl -tag -width indent
64 Print a checksum of the given
67 Echo stdin to stdout and append the checksum to stdout.
69 Quiet mode - only the checksum is printed out.
74 Reverses the format of the output.
75 This helps with visual diffs.
77 when combined with the
81 Run a built-in time trial.
83 Run a built-in test script.
90 utilities exit 0 on success,
91 and 1 if at least one of the input files could not be read.
99 .%T The MD5 Message-Digest Algorithm
104 .%T The Secure Hash Standard
108 .%A D. Eastlake and P. Jones
109 .%T US Secure Hash Algorithm 1
113 RIPEMD-160 is part of the ISO draft standard
114 .Qq ISO/IEC DIS 10118-3
115 on dedicated hash functions.
117 Secure Hash Standard (SHS):
118 .Pa http://csrc.nist.gov/cryptval/shs.html .
121 .Pa http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html .
123 This program is placed in the public domain for free general use by
126 Support for SHA-1 and RIPEMD-160 has been added by
127 .An Oliver Eikemeier Aq eik@FreeBSD.org .