MD5

From Overbyte
Jump to navigation Jump to search

Main page -> ICS component reference

Overview

unit icsmd5.pas
inheritance none

This unit implements the MD5 hash algorithm, which is a improved descendant from the insecure MD4 algorithm. Since at least Delphi 10 Seattle the new System.Hash unit exists and provides an implementation of the MD5 algorithm as well.

Functions

MD5Init initializes a MD5 context record
MD5Update ?
MD5Transform ?
MD5UpdateBuffer ?
MD5Final ?
GetMD5 Calculates the MD5 sum of a given buffer
StrMD5 Calculates the MD5 sum of a given String
FileMD5 Calculates the MD5 sum of a given file

How to

Verify the correctnes of this MD5 implementation



ICS Components Reference