LATEST
NEWS - 25th September 2006
Download the evaluation trial
here

What is MD5 COM Component ?
MD5 COM Component is for ASP, Cold
Fusion, VB, VC, .NET, PHP and other languages.
The com component will quickly generate a MD5 string from a text string or file content.
The MD5 Com Component creates an RFC1321 compliant MD5 string from a string of text or file content, The MD5 algorithm takes as input a string of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input string. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given prespecified target message digest. The MD5 algorithm is intended for digital signature applications, where a large file must be "compressed" in a secure manner before being encrypted with a private (secret) key under a public-key cryptosystem such as
RSA. In essence, MD5 is a way to verify data integrity, and is much more reliable than checksum and many other commonly used methods.
Copyright of the MD5 Message-Digest Algorithm belongs to RSA Data Security, Inc.
Example .asp, vb, .net, coldfusion, php & vc++ code included
simple ASP example of usage:-
Set Obj = Server.CreateObject("MD5.MD5Com.1")
dim md5
md5 = Obj.GetMD5File("C:\yourfile.dat")
rem OR
md5 = Obj.GetMD5("MD5 by Traction
Software")
simple VC++ example of usage:-
MD5Lib::IMD5ComPtr *test = NULL;
struct __declspec(uuid("{33D24183-7D5E-43B1-8A0C-3146D223C15A}"))
IClass;
test = new MD5Lib::IMD5ComPtr( __uuidof(IClass) );
CString md5file = (char *)(_bstr_t)(*test)->getMD5File((char *)(_bstr_t)"c:\\yourfile.dat");
// OR
CString md5string = (char *)(_bstr_t)(*test)->getMD5(_T("MD5 by Traction Software"));
simple VB example of usage:-
Dim obj As MD5Lib.MD5Com
Set obj = New MD5Lib.MD5Com
dim md5file
md5file = obj.GetMD5File("C:\yourfile.dat")
dim md5string
md5string = obj.GetMD5("MD5 by
Traction Software")
simple ASP .NET using C# example of usage:-
MD5.MD5Com md5 = new MD5.MD5Com();
string strFile = md5.getMD5File("C:\yourfile.dat");
string str = md5.getMD5("MD5 by Traction Software");
simple ColdFusion example of usage:-
<cfobject action = "Create" type = "COM" class =
MD5.MD5Com name = "Obj">
<cfset filename = "C:\yourfile.dat">
<cfoutput>Filename: #filename# : MD5 : #Obj.getMD5File( filename
)#
MD5 by Traction Software : #Obj.getMD5("MD5 by Traction Software")#
</cfoutput>
simple PHP example of usage:-
$Obj = new COM("MD5.MD5Com");
$filename = "C:\\yourfile.dat";
$md5file = $Obj->getMD5File( $filename );
$md5 = $Obj->getMD5("MD5 by Traction Software");