Difference between revisions of "MD5"

From Overbyte
Jump to navigation Jump to search
(First entry)
 
(Hint regarding Delphi's own MD5 implementation)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|}
 
|}
  
This unit implements the MD5 hash algorithm, which is a implroved descendant from the insecure [[MD4]] algorithm.
+
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 ==
 
== Functions ==
  
 
{|  
 
{|  
| width="90" valign="top" | [[TName.Name | Name]] |||| Short description
+
| width="90" valign="top" | [[icsMD5.MD5Init | MD5Init]] |||| initializes a MD5 context record
 
|-  
 
|-  
| valign="top" | [[TName.Name | Name]] |||| Short description
+
| valign="top" | [[icsMD5.MD5Update | MD5Update]] |||| ?
 +
|-
 +
| valign="top" | [[icsMD5.MD5Transform | MD5Transform]] |||| ?
 +
|-
 +
| valign="top" | [[icsMD5.MD5UpdateBuffer | MD5UpdateBuffer]] |||| ?
 +
|-
 +
| valign="top" | [[icsMD5.MD5Final | MD5Final]] |||| ?
 +
|-
 +
| valign="top" | [[icsMD5.GetMD5 | GetMD5]] |||| Calculates the MD5 sum of a given buffer
 +
|-
 +
| valign="top" | [[icsMD5.StrMD5 | StrMD5]] |||| Calculates the MD5 sum of a given String
 +
|-
 +
| valign="top" | [[icsMD5.FileMD5 | FileMD5]] |||| Calculates the MD5 sum of a given file
 
|}
 
|}
  
 
== How to ==
 
== How to ==
  
[[TName.HowTo.Title | Title]]
+
[[MD5Veryfy | Verify the correctnes of this MD5 implementation]]
  
 
{{Components_Footer}}
 
{{Components_Footer}}

Latest revision as of 13:27, 3 January 2016

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