QuickHash Library  

MD2 Overview

MD2 (Message Digest Algorithm 2) is a secure hash algorithm developed by R. Rivest in 1989. The algorithm takes a message of arbitrary length and produces a 128-bit message digest.

The message is first padded so its length in bytes is divisible by 16. A 16-byte checksum is then appended to the message, and the hash-value is computed on the resulting message.

Rogier and Chauvaud have found that collisions for MD2 can be constructed if the calculation of the checksum is omitted. This is the only cryptanalytic result known for MD2.


The MD2 algorithm is designed to be quite fast on 8-bit machines.

The MD2 algorithm is specified in RFC1319.

CMD2 Overview   |   MD2 API Overview   |   Type Library Overview   |   Useful Links   |   HashCalc


See Also    QuickHash Library Overview



Send Feedback to SlavaSoft Inc. Tell a friend about QuickHash Library