1 .\" $FreeBSD: src/sbin/md5/md5.1,v 1.24 2005/03/10 09:56:39 cperciva Exp $
7 .Nd calculate a message-digest fingerprint (checksum) for a file
16 utility takes as input a message of arbitrary length and produces as
22 It is conjectured that it is computationally infeasible to
23 produce two messages having the same message digest, or to produce any
24 message having a given prespecified target message digest.
27 algorithm is intended for digital signature applications, where a
30 in a secure manner before being encrypted with a private
32 key under a public-key cryptosystem such as
36 designer Ron Rivest has stated "md5 and sha1 are both clearly broken (in terms
37 of collision-resistance)".
40 should be avoided when creating new protocols, or implementing protocols with better options.
44 are better options as they have been more resilient to attacks (as of 2009).
46 The following options may be used in any combination and must
47 precede any files named on the command line.
48 The hexadecimal checksum of each file listed on the command line is printed
49 after the options are processed.
50 .Bl -tag -width indent
52 Print a checksum of the given
55 Echo stdin to stdout and append the checksum to stdout.
57 Quiet mode - only the checksum is printed out.
62 Reverses the format of the output.
63 This helps with visual diffs.
65 when combined with the
69 Run a built-in time trial.
71 Run a built-in test script.
76 utility exits 0 on success,
77 and 1 if at least one of the input files could not be read.
86 .%T The MD5 Message-Digest Algorithm
90 .%T Finding MD5 Collisions - a Toy For a Notebook
91 .%O Cryptology ePrint Archive: Report 2005/075
94 This program is placed in the public domain for free general use by