Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

MD5 Message Digest Unit Overview

Applies to: ~>1.0

This page provides an overview of the features of the MD5 Messsage Digest Unit. If you are looking for information on programming with the unit please see the Programmers’ Guide.

This unit contains an implementation of the MD5 message digest algorithm.

The code has been developed from scratch based on the algorithm presented in RFC 1321. Portions of the code are translated from the reference C code supplied in the RFC. However the code is not a literal translation into Pascal from the reference C code.


This unit is designed for compilation with 32 bit and 64 bit Delphi compilers. It is designed to compile with compilers from Delphi 2009 onwards.

The code uses only Delphi RTL libraries and so should be able to compile for any platform supported by Delphi.

The unit is compatible with both VCL and FMX applications.

Unit Tests

Unit tests that exercise each method and property are available in the GitHub repository. The tests include those specified in RFC 1321.


A Tutorial showing how to use the the MD5 Message Digest Unit is available is the How To section of this documentation.